summaryrefslogtreecommitdiff
path: root/community/zathura-ps/PKGBUILD
blob: 9440bf22dbe96e423e5a06a6d5c42ce21f8e7dd6 (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=1
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"
}