summaryrefslogtreecommitdiff
path: root/community/qiv/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-30 03:34:59 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-30 03:34:59 +0000
commit53db844f5c8c3d0a6752bb40f65c613020084541 (patch)
treed910e83c076bbb5d07951bceaf8570aa2bcdea90 /community/qiv/PKGBUILD
parentce34930a04e783323d0a92208729b9e5fa1994c5 (diff)
Mon Dec 30 03:31:50 UTC 2013
Diffstat (limited to 'community/qiv/PKGBUILD')
-rw-r--r--community/qiv/PKGBUILD28
1 files changed, 20 insertions, 8 deletions
diff --git a/community/qiv/PKGBUILD b/community/qiv/PKGBUILD
index 2e6c7c963..80772b1db 100644
--- a/community/qiv/PKGBUILD
+++ b/community/qiv/PKGBUILD
@@ -1,25 +1,37 @@
-# $Id: PKGBUILD 83178 2013-01-27 16:25:48Z pierre $
+# $Id: PKGBUILD 103185 2013-12-29 03:26:56Z kkeen $
+# Maintainer: Kyle Keen <keenerd@gmail.com>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Maintainer: Paul Mattal <paul@archlinux.org>
+# Contributor: Paul Mattal <paul@archlinux.org>
pkgname=qiv
-pkgver=2.2.4
-pkgrel=2
+pkgver=2.3.1
+pkgrel=1
pkgdesc="Quick Image Viewer (qiv) is a very small and fast GDK/Imlib image viewer"
arch=('i686' 'x86_64')
url="http://spiegl.de/qiv/"
license=('GPL2')
-depends=('file' 'gtk2' 'imlib2')
+depends=('file' 'gtk2' 'imlib2' 'libexif' 'lcms2' 'desktop-file-utils')
+install=qiv.install
source=(http://spiegl.de/qiv/download/$pkgname-$pkgver.tgz)
-md5sums=('1425f89c90f9c045858fccf24d894c97')
+md5sums=('93aea7469be64ebd35277a6dac079fc8')
build() {
cd "$srcdir/$pkgname-$pkgver"
+ sed -i "s|^PREFIX = .*|PREFIX = /usr|" Makefile
+ sed -i "s|\./qiv|echo &|" Makefile # nuke test
+ sed -i "s|/man/|/share&|" Makefile
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- install -D -m 0755 qiv "$pkgdir/usr/bin/qiv"
- install -D -m 0644 qiv.1 "$pkgdir/usr/share/man/man1/qiv.1"
+ sed -i "s|^PREFIX = .*|PREFIX = $pkgdir/usr|" Makefile
+ make install
+
+ install -D -m 0644 README "$pkgdir/usr/share/doc/qiv/README"
+ install -d "$pkgdir/usr/share/doc/qiv/contrib"
+ cp contrib/* "$pkgdir/usr/share/doc/qiv/contrib"
+ #install -D -m 0755 contrib/gps2url.py "$pkgdir/usr/share/doc/qiv/contrib/gps2url.py"
+ #install -D -m 0755 contrib/qiv-command.example "$pkgdir/usr/share/doc/qiv/contrib/qiv-command.example"
}
+