diff options
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 +} |