summaryrefslogtreecommitdiff
path: root/community/zathura-ps/PKGBUILD
blob: af3bd36f0a30c7a7de6d35eb2d906267cb7e8285 (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
# $Id: PKGBUILD 67819 2012-03-14 16:22:14Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: karnath <karnathtorjian@gmail.com>

pkgname=zathura-ps
pkgver=0.2.2
pkgrel=2
pkgdesc="Adds ps support to zathura by using the libspectre library"
arch=('i686' 'x86_64')
url="https://pwmt.org/projects/zathura/plugins/zathura-ps/"
license=('custom')
depends=('libspectre' 'zathura')
install="$pkgname.install"
source=(https://pwmt.org/projects/zathura/plugins/download/zathura-ps-$pkgver.tar.gz)
md5sums=('338af976c03c0aa1471b156a0efdc45c')

build(){
  make -C "$pkgname-$pkgver"
}

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