[arch-commits] Commit in catfish/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Sun Mar 17 14:17:35 UTC 2013
Date: Sunday, March 17, 2013 @ 15:17:34
Author: bpiotrowski
Revision: 86456
upgpkg: catfish 0.6.1-2
remove useless python2 magic
Modified:
catfish/trunk/PKGBUILD
----------+
PKGBUILD | 12 +-----------
1 file changed, 1 insertion(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-03-17 14:15:32 UTC (rev 86455)
+++ PKGBUILD 2013-03-17 14:17:34 UTC (rev 86456)
@@ -4,7 +4,7 @@
pkgname=catfish
pkgver=0.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="A versatile file searching tool"
arch=('any')
url='https://launchpad.net/catfish-search'
@@ -24,12 +24,6 @@
build() {
cd $srcdir/$pkgname-$pkgver
- # python2 build 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
-
./configure --prefix=/usr
# Correct symlinks
@@ -41,10 +35,6 @@
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
- # python2 run fix
- #sed -i 's|python|python2|' $pkgdir/usr/bin/$pkgname
-
- # icon file
install -d $pkgdir/usr/share/pixmaps
ln -s /usr/share/icons/hicolor/scalable/apps/$pkgname.svg $pkgdir/usr/share/pixmaps/$pkgname.svg
}
More information about the arch-commits
mailing list