# $Id: PKGBUILD 100916 2013-11-13 11:13:50Z spupykin $ # Maintainer: Daniel Wallace # Maintainer: Sergej Pupykin # Contributor: karnath pkgname=zathura-djvu pkgver=0.2.3 pkgrel=2 pkgdesc="Adds DjVu support to zathura by using the djvulibre library" arch=('i686' 'x86_64' 'mips64el') url="https://pwmt.org/projects/zathura/plugins/zathura-djvu/" license=('custom') depends=('djvulibre' 'zathura') install="$pkgname.install" source=("https://pwmt.org/projects/zathura/plugins/download/zathura-djvu-$pkgver.tar.gz") md5sums=('a472f706d6f6384d8bc2750141a84fc6') build(){ make -C "${srcdir}/$pkgname-$pkgver" } package(){ make -C "${srcdir}/$pkgname-$pkgver" DESTDIR="$pkgdir" install install -Dm0644 "${srcdir}/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }