updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / samsutools / PKGBUILD
blob7ef504151938ee5ee4875357d3649b0d2480cd88
1 # Submitter: thotypous
2 # Maintainer WorMzy Tykashi <wormzy.tykashi@gmail.com>
3 pkgname="samsutools"
4 pkgver="20080730"
5 pkgrel=3
6 pkgdesc="Tools for Samsung Mobile Phones."
7 url="http://samsutools.berlios.de/"
8 arch=('i686' 'x86_64')
9 license=('BSD')
10 depends=('python>=2.4' 'python-fuse>=0.2.1' 'ppp')
11 source=("http://download.berlios.de/samsutools/$pkgname-$pkgver-alpha.tar.gz")
12 md5sums=('fdea4809a3ffa2388c9a3a15a0c137f4')
14 build() {
15   cd "$srcdir/$pkgname-$pkgver-alpha"
16   sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' samsung{fs,java}
17   install -d "$pkgdir/usr/bin"
18   install -m755 samsung{fs,java} "$pkgdir/usr/bin"
19   install -m755 "conf/ppp.setup.example.linux" "$pkgdir/usr/bin/samsungjava-ppp"
20   install -d "$pkgdir/usr/share/licenses/samsutools"
21   install -m644 "LICENSE" "$pkgdir/usr/share/licenses/samsutools"