diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/kaa-base | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/kaa-base')
-rw-r--r-- | community/kaa-base/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/kaa-base/PKGBUILD b/community/kaa-base/PKGBUILD new file mode 100644 index 000000000..89c535bc2 --- /dev/null +++ b/community/kaa-base/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 68025 2012-03-17 01:28:26Z giovanni $ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: DonVla <donvla@users.sourceforge.net> + +pkgname=kaa-base +pkgver=0.6.0 +pkgrel=4 +pkgdesc="KAA base package" +url="http://freevo.sourceforge.net/" +license=('GPL2') +depends=('python2' 'glib2') +arch=('i686' 'x86_64') +source=(http://downloads.sourceforge.net/freevo/$pkgname-$pkgver.tar.gz) +md5sums=('5fdac0492dbbb412c2cafe32ea8c60a8') + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + + # python2 fix + for file in $(find . -name '*.py' -print); do + sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' $file + sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' $file + done + + python2 setup.py install --prefix=${pkgdir}/usr --optimize=1 +} |