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