summaryrefslogtreecommitdiff
path: root/community/zathura-djvu/PKGBUILD
blob: 8bdff37a9a6d377046d5a44e0b6978ad6e8f2271 (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 82565 2013-01-21 01:01:19Z dwallace $
# Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com>
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: karnath <karnathtorjian@gmail.com>

pkgname=zathura-djvu
pkgver=0.2.2
pkgrel=1
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')
source=("https://pwmt.org/projects/zathura/plugins/download/zathura-djvu-$pkgver.tar.gz")
md5sums=('38344cb762e1f5b5fe66f6ef49ac173f')

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