aboutsummaryrefslogtreecommitdiffstats
path: root/bookshelf
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bookshelf/PKGBUILD27
l---------bookshelf/upload1
2 files changed, 28 insertions, 0 deletions
diff --git a/bookshelf/PKGBUILD b/bookshelf/PKGBUILD
new file mode 100644
index 0000000..3124056
--- /dev/null
+++ b/bookshelf/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=bookshelf
+pkgver=1
+pkgrel=1
+pkgdesc='Virtual bookshelf browser for the terminal'
+arch=(any)
+url='https://github.com/maandree/bookshelf'
+license=(GPL3)
+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
+}
+
diff --git a/bookshelf/upload b/bookshelf/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/bookshelf/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file