summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Grapentin2016-01-07 21:00:34 +0100
committerAndreas Grapentin2016-01-07 21:00:34 +0100
commit5ca764bc9806f4b80c454b8faa8a2617f524d9af (patch)
tree78ddfe254e7290c03e1f0ded99e9fa2014e01241 /PKGBUILD
downloadaur-fbview.tar.gz
initial release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..cdb9f8b8a06
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Andreas Grapentin <andreas@grapentin.org>
+pkgname=fbview
+pkgver=1.0
+pkgrel=1
+pkgdesc="small framebuffer document viewer for pdf and djvu"
+arch=('i686' 'x86_64')
+url="github.com/oaken-source/fbview"
+license=('BSD')
+depends=('mupdf')
+optdepends=('poppler: alternative .pdf support', 'djvulibre: .djvu support')
+install='fbview.install'
+source=("http://files.grapentin.org/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('fa307f8db0438f29d792733f76ea648b')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}