diff options
author | root <root@rshg047.dnsready.net> | 2011-05-22 22:46:00 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-22 22:46:00 +0000 |
commit | 3837a11a2a471b9db222d8eb6ed7d2fb9d1778c6 (patch) | |
tree | b16474ab1e00c05c11f602c89c6ea093f8d8f0d7 /community/sxiv/PKGBUILD | |
parent | 0fdfc2325867395ad4262d06b2d89955ac3cf6a4 (diff) |
Sun May 22 22:46:00 UTC 2011
Diffstat (limited to 'community/sxiv/PKGBUILD')
-rw-r--r-- | community/sxiv/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/sxiv/PKGBUILD b/community/sxiv/PKGBUILD new file mode 100644 index 000000000..04e771c57 --- /dev/null +++ b/community/sxiv/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Bert Muennich <muennich at informatik.hu-berlin.de> + +pkgname=sxiv +pkgver=0.8.1 +pkgrel=2 +pkgdesc='simple x image viewer' +arch=('i686' 'x86_64') +license=('GPL2') +install=('sxiv.install') +url='https://github.com/muennich/sxiv' +depends=('libx11' 'xproto' 'imlib2') +source=("https://github.com/downloads/muennich/sxiv/sxiv-${pkgver}.tar.gz" + 'sxiv.desktop' + 'config.h') +md5sums=('23006a1900690d46c0ff126c76cdbd02' + '0b6d43bd356aadc12537c010950e2272' + '8018e9f2f63b155098428be9dbaf8b5c') + +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 +} |