summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAppleBloom2019-02-13 19:23:37 +0100
committerAppleBloom2019-02-13 19:23:37 +0100
commitbdfa6bca36c6f4d894376e1c13b2826322032fad (patch)
tree58b119346a3ccc8e34cd21fb4a1455c4ba7103c3
parent96284f2d2b466edb9e4cb4f7f90386a5c03a2fa3 (diff)
downloadaur-bdfa6bca36c6f4d894376e1c13b2826322032fad.tar.gz
Updated with sip418, because newer SIP versions don't support PyQt3.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD9
2 files changed, 7 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 21bc37f1815..c34bb7129c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = imgseek
pkgdesc = a photo collection manager and viewer with content-based search and many other features
pkgver = 0.8.6
- pkgrel = 9
+ pkgrel = 10
url = http://www.imgseek.net
arch = i686
arch = x86_64
@@ -9,6 +9,7 @@ pkgbase = imgseek
depends = pyqt3
depends = imagemagick
depends = python-imaging
+ depends = python2-sip418
source = http://downloads.sourceforge.net/sourceforge/imgseek/imgSeek-0.8.6.tar.bz2
source = python27.patch
source = make_it_work.patch
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"
}