From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- community/kaa-base/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 community/kaa-base/PKGBUILD (limited to 'community/kaa-base/PKGBUILD') diff --git a/community/kaa-base/PKGBUILD b/community/kaa-base/PKGBUILD new file mode 100644 index 000000000..06deb8f6d --- /dev/null +++ b/community/kaa-base/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 27071 2010-09-17 12:26:08Z schuay $ +# Maintainer: Ronald van Haren +# Contributor: DonVla + +pkgname=kaa-base +pkgver=0.6.0 +pkgrel=3 +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 +} -- cgit v1.2.3-54-g00ecf