summaryrefslogtreecommitdiff
path: root/community-testing/zathura-djvu/PKGBUILD
blob: be797feb349492f548438403227020f51bb6bf91 (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
26
# $Id: PKGBUILD 75779 2012-08-31 00:57:33Z 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.1
pkgrel=1
pkgdesc="Adds DjVu support to zathura by using the djvulibre library"
arch=('i686' 'x86_64')
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=('c3525b43b74bb0777a2b3561f7dcde06')

build(){
  cd "${srcdir}/$pkgname-$pkgver"
  make
}
package(){
  cd "${srcdir}/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -Dm0644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}