summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 13a81ffc641e74e44e088e16a6252cb0089ae3af (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
# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>

pkgname=bookshelf
pkgver=1
pkgrel=2
pkgdesc='Virtual bookshelf browser for the terminal'
arch=(any)
url='https://github.com/maandree/bookshelf'
license=(GPL-3.0)
depends=(bash grep coreutils)
optdepends=('jfbview: default document viewer under TTY'
            'xpdf: default document viewer under X')
makedepends=(texinfo gzip)
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=(cfa0a9f1482533ccc0be068abd9deab716d966b837668dfdca0beba10dfa9493)


build() {
  cd "${srcdir}/bookshelf-${pkgver}"
  make
}

package() {
  cd "${srcdir}/bookshelf-${pkgver}"
  make DESTDIR="${pkgdir}" install
}