summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTed Alff2017-06-29 12:34:25 -0400
committerTed Alff2017-06-29 12:34:25 -0400
commit5511120c52f11578a1af361be81812c5f0d08546 (patch)
tree1b29348408d43f4d08f7e6fcbaa170e429313692 /PKGBUILD
parent6f153103082891a6ec5f91139c6e2ed76e2926eb (diff)
downloadaur-5511120c52f11578a1af361be81812c5f0d08546.tar.gz
A little cleanup, change to sha256sums
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD8
1 files changed, 3 insertions, 5 deletions
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
}