diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 20 insertions, 17 deletions
@@ -1,11 +1,12 @@ pkgbase = imgv - pkgdesc = a feature rich image viewer including a GUI + pkgdesc = A feature rich image viewer including a GUI pkgver = 3.1.6 - pkgrel = 2 + pkgrel = 3 url = http://imgv.sourceforge.net/ arch = any license = GPL makedepends = dos2unix + depends = python depends = python-pygame depends = python-pillow source = http://downloads.sourceforge.net/imgv/imgv-3.1.6-src.tar.gz @@ -1,15 +1,17 @@ -# Maintainer: Caleb Maclennan <caleb@alerque.com> +# Maintainer: +# Contributor: Caleb Maclennan <caleb@alerque.com> # Contributor: Eric Belanger <belanger@astro.umontreal.ca> # Contributor: Nathan Owe <ndowens04+AUR @ gmail.com> pkgname=imgv pkgver=3.1.6 -pkgrel=2 -pkgdesc="a feature rich image viewer including a GUI" -url="http://imgv.sourceforge.net/" +pkgrel=3 +pkgdesc='A feature rich image viewer including a GUI' +url='http://imgv.sourceforge.net/' license=(GPL) arch=(any) -depends=(python-pygame +depends=(python + python-pygame python-pillow) makedepends=(dos2unix) _archive="$pkgname-$pkgver" @@ -21,17 +23,17 @@ sha256sums=('7dd9db8d68f772e44acb9d8e8a81fdbe346644b6834cb30aad6a06b3fec99cb3' 'f2be0d9ffe6e349b72ded3519201db2684762ac9291bc9a02d94b932edcb1748') build() { - cd "$_archive" - dos2unix *.py data/{imgv.conf,playlists} - sed -i 's/#\s*$//g' *.py - sed -i 's|COLOR|#COLOR|g' "data/imgv.conf" - sed -i 's|CACHE_DIRS|#CACHE_DIRS|g' "gl.py" + cd "$_archive" + dos2unix *.py data/{imgv.conf,playlists} + sed -i 's/#\s*$//g' *.py + sed -i 's|COLOR|#COLOR|g' "data/imgv.conf" + sed -i 's|CACHE_DIRS|#CACHE_DIRS|g' "gl.py" } package() { - cd "$_archive" - install -d "$pkgdir/usr/share/imgv" - cp -r * "$pkgdir/usr/share/imgv/" - install -Dm0755 ../imgv.profile "$pkgdir/etc/profile.d/imgv.sh" - install -Dm0755 ../imgv.sh "$pkgdir/usr/bin/imgv" + install -Dm0755 imgv.profile "$pkgdir/etc/profile.d/imgv.sh" + install -Dm0755 imgv.sh "$pkgdir/usr/bin/imgv" + cd "$_archive" + install -d "$pkgdir/usr/share/imgv" + cp -r * "$pkgdir/usr/share/imgv/" } |