summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Alff2017-06-29 12:34:25 -0400
committerTed Alff2017-06-29 12:34:25 -0400
commit5511120c52f11578a1af361be81812c5f0d08546 (patch)
tree1b29348408d43f4d08f7e6fcbaa170e429313692
parent6f153103082891a6ec5f91139c6e2ed76e2926eb (diff)
downloadaur-5511120c52f11578a1af361be81812c5f0d08546.tar.gz
A little cleanup, change to sha256sums
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a3dbb99a6fc..bc1e29bcd1a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Jun 29 16:27:50 UTC 2017
+# Thu Jun 29 16:34:02 UTC 2017
pkgbase = kaa-base
pkgdesc = KAA base package
pkgver = 0.6.0
@@ -11,7 +11,7 @@ pkgbase = kaa-base
depends = python2
depends = glib2
source = http://downloads.sourceforge.net/freevo/kaa-base-0.6.0.tar.gz
- md5sums = 5fdac0492dbbb412c2cafe32ea8c60a8
+ sha256sums = 04fb0f610ec19a1aad1698d20829fb8caa34a97fe9cd4d9acf9f4f9f918d79b0
pkgname = kaa-base
diff --git a/PKGBUILD b/PKGBUILD
index 6173d2fb571..03d2fa4e254 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,16 +11,14 @@ license=('GPL2')
depends=('python2' 'glib2')
arch=('i686' 'x86_64')
source=(http://downloads.sourceforge.net/freevo/$pkgname-$pkgver.tar.gz)
-md5sums=('5fdac0492dbbb412c2cafe32ea8c60a8')
+sha256sums=('04fb0f610ec19a1aad1698d20829fb8caa34a97fe9cd4d9acf9f4f9f918d79b0')
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
+ find . -name '*.py' -exec \
+ sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_;s_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' '{}' \;
python2 setup.py install --prefix=${pkgdir}/usr --optimize=1
}