summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c9abbcdbdf9bb9c42320807a182016ce56796c33 (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
27
28
29
# Maintainer sgerwk <sgerwk at aol dot com>
# package script file for archlinux
# makepkg -p THISFILE
pkgname=pdftoroff
pkgver=git
pkgrel=1
pkgdesc="pdf conversion, scaling and viewing by blocks of text"
license=(GPL3)
arch=('x86_64' 'i686')
depends=('poppler-glib' 'ncurses' 'libx11')
makedepends=('gcc' 'make')
url="http://github.com/sgerwk/pdftoroff"
source=(git+https://github.com/sgerwk/pdftoroff)
sha256sums=('SKIP')

build() {
  cd $startdir/src/$pkgname
  make || return 1
}

check() {
  cd $startdir/src/$pkgname
  return $(test -x hovacui)
}

package() {
  cd $startdir/src/$pkgname
  make DESTDIR=$startdir/pkg/$pkgname install
}