summaryrefslogtreecommitdiff
path: root/community/sxiv/PKGBUILD
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/sxiv/PKGBUILD
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/sxiv/PKGBUILD')
-rw-r--r--community/sxiv/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/sxiv/PKGBUILD b/community/sxiv/PKGBUILD
new file mode 100644
index 000000000..c2d564fbd
--- /dev/null
+++ b/community/sxiv/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 92171 2013-06-02 10:38:24Z bpiotrowski $
+# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de>
+# Contributor: Brad Fanella <bradfanella@archlinux.us>
+
+pkgname=sxiv
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='Simple X Image Viewer'
+arch=('i686' 'x86_64')
+license=('GPL2')
+install=sxiv.install
+url='https://github.com/muennich/sxiv'
+depends=('libx11' 'xproto' 'imlib2' 'giflib' 'desktop-file-utils')
+source=(https://github.com/muennich/sxiv/archive/v$pkgver.tar.gz
+ sxiv.desktop
+ config.h)
+sha256sums=('30569b7cb1568a7f60d102f6eb21f25c93de42243a1c8ac3c1a521d58b08281f'
+ 'bd14b9b6bc6d78f18cdff8535b4d1c13b3c76e35091dd6bc675011d42a01bb47'
+ '61515a87692849c942bfc3cce8b4c0f19139b4a1e9b6375a994cc541c64aab5c')
+
+build() {
+ cd sxiv-$pkgver
+ cp "$srcdir"/config.h .
+ make
+}
+
+package() {
+ cd sxiv-$pkgver
+
+ make PREFIX="$pkgdir"/usr install
+ install -D -m644 "$srcdir"/sxiv.desktop \
+ "$pkgdir"/usr/share/applications/sxiv.desktop
+}