aboutsummaryrefslogtreecommitdiffstats
path: root/bookshelf/PKGBUILD
blob: c51bd27b60137c0d0a5e1708275cdcfe1432b0e1 (plain) (blame)
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 <`base64 -d`(bWF0dGlhcy5hbmRyZWU)@protonmail.com>

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
}