summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBalló György2017-06-29 14:24:25 +0200
committerBalló György2017-06-29 14:24:25 +0200
commitde0fb2c3418740baa90be84e8fc36790bb1b0e4b (patch)
tree603eadab8b0aa7624f27089e107be2b860b35acd
downloadaur-de0fb2c3418740baa90be84e8fc36790bb1b0e4b.tar.gz
Moved from the [community] repository.
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD26
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..7efaafec5dd
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = kaa-base
+ pkgdesc = KAA base package
+ pkgver = 0.6.0
+ pkgrel = 5
+ url = http://freevo.sourceforge.net/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ depends = python2
+ depends = glib2
+ source = http://downloads.sourceforge.net/freevo/kaa-base-0.6.0.tar.gz
+ md5sums = 5fdac0492dbbb412c2cafe32ea8c60a8
+
+pkgname = kaa-base
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66d8dff6d9b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 114712 2014-07-03 08:15:48Z fyan $
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: DonVla <donvla@users.sourceforge.net>
+
+pkgname=kaa-base
+pkgver=0.6.0
+pkgrel=5
+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
+}