diff options
Diffstat (limited to 'community/zathura-pdf-poppler')
-rw-r--r-- | community/zathura-pdf-poppler/PKGBUILD | 26 | ||||
-rw-r--r-- | community/zathura-pdf-poppler/zathura-pdf-poppler.install | 6 |
2 files changed, 32 insertions, 0 deletions
diff --git a/community/zathura-pdf-poppler/PKGBUILD b/community/zathura-pdf-poppler/PKGBUILD new file mode 100644 index 000000000..14498ce13 --- /dev/null +++ b/community/zathura-pdf-poppler/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 67819 2012-03-14 16:22:14Z spupykin $ +# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: karnath <karnathtorjian@gmail.com> + +pkgname=zathura-pdf-poppler +pkgver=0.2.3 +pkgrel=2 +pkgdesc="Adds pdf support to zathura by using the poppler engine" +arch=('i686' 'x86_64') +url="https://pwmt.org/projects/zathura/plugins/zathura-pdf-poppler/" +license=('custom') +depends=('poppler-glib' 'zathura') +install="$pkgname.install" + +source=("https://pwmt.org/projects/zathura/plugins/download/$pkgname-$pkgver.tar.gz") +md5sums=('1d8deb2d2ee5a6847267f977b8f2e542') + +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" +} diff --git a/community/zathura-pdf-poppler/zathura-pdf-poppler.install b/community/zathura-pdf-poppler/zathura-pdf-poppler.install new file mode 100644 index 000000000..247455a1d --- /dev/null +++ b/community/zathura-pdf-poppler/zathura-pdf-poppler.install @@ -0,0 +1,6 @@ +post_install(){ + update-desktop-database -q +} +post_remove(){ + update-desktop-database -q +} |