summaryrefslogtreecommitdiff
path: root/community/gpicview
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/gpicview
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/gpicview')
-rw-r--r--community/gpicview/PKGBUILD30
-rw-r--r--community/gpicview/gpicview.install11
2 files changed, 41 insertions, 0 deletions
diff --git a/community/gpicview/PKGBUILD b/community/gpicview/PKGBUILD
new file mode 100644
index 000000000..ef08560b4
--- /dev/null
+++ b/community/gpicview/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 69882 2012-04-25 13:40:48Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
+# Contributor: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Geoffroy Carrier <geoffroy.carrier@koon.fr>
+
+pkgname=gpicview
+pkgver=0.2.3
+pkgrel=1
+pkgdesc="lightweight image viewer"
+arch=('i686' 'x86_64')
+license=('GPL2')
+url="http://lxde.org/"
+groups=('lxde')
+depends=('gtk2' 'desktop-file-utils')
+install=$pkgname.install
+makedepends=('pkgconfig' 'intltool')
+optdepends=('librsvg: For SVG support')
+source=(http://ftp.de.debian.org/debian/pool/main/g/$pkgname/${pkgname}_${pkgver}.orig.tar.xz)
+md5sums=('0f1275b5b0ca66e48963a7ccda8a5019')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --sysconfdir=/etc --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community/gpicview/gpicview.install b/community/gpicview/gpicview.install
new file mode 100644
index 000000000..bc3abcd40
--- /dev/null
+++ b/community/gpicview/gpicview.install
@@ -0,0 +1,11 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}