summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAppleBloom2019-02-13 19:23:37 +0100
committerAppleBloom2019-02-13 19:23:37 +0100
commitbdfa6bca36c6f4d894376e1c13b2826322032fad (patch)
tree58b119346a3ccc8e34cd21fb4a1455c4ba7103c3 /PKGBUILD
parent96284f2d2b466edb9e4cb4f7f90386a5c03a2fa3 (diff)
downloadaur-imgseek.tar.gz
Updated with sip418, because newer SIP versions don't support PyQt3.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 583df0dbce4..34ca3a973df 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,10 +4,10 @@
pkgname=imgseek
pkgver=0.8.6
-pkgrel=9
+pkgrel=10
pkgdesc="a photo collection manager and viewer with content-based search and many other features"
url="http://www.imgseek.net"
-depends=('pyqt3' 'imagemagick' 'python-imaging')
+depends=('pyqt3' 'imagemagick' 'python-imaging' 'python2-sip418')
arch=('i686' 'x86_64')
license=('GPL')
source=("http://downloads.sourceforge.net/sourceforge/imgseek/imgSeek-$pkgver.tar.bz2"
@@ -27,12 +27,13 @@ prepare() {
build() {
cd "$_dir"
- python2 setup.py build
+ PYTHONPATH=/usr/lib/python2.7/site-packages/sip418 python2 setup.py build
}
package() {
cd "$_dir"
- python2 setup.py install --prefix="$pkgdir"/usr
+ PYTHONPATH=/usr/lib/python2.7/site-packages/sip418 python2 setup.py install --prefix="$pkgdir"/usr
cd "$pkgdir"/usr/lib/python2.7/site-packages/imgSeekLib
ln -s ImageDB.py ImgDB.py
+ sed -i '1s_.*_#!/usr/bin/env python2\nimport sys\nsys.path.insert(0, "/usr/lib/python2.7/site-packages/sip418")_' "$pkgdir/usr/bin/imgSeek"
}