summaryrefslogtreecommitdiff
path: root/community/zathura-pdf-poppler/PKGBUILD
blob: 2b289b34739f572e4b7f8311c95b78134a019fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $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.4
pkgrel=1
pkgdesc="Adds pdf support to zathura by using the poppler engine"
arch=('i686' 'x86_64' 'mips64el')
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=('7a3781a251687d316fcd8bf3df120d9f')

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"
}