summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD37
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8dfa3399d9a
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = flaxpdf-git
+ pkgdesc = A simple FLTK PDF viewer
+ pkgver = 20152609
+ pkgrel = 1
+ url = https://github.com/clbr/flaxpdf
+ arch = i686
+ arch = x86_64
+ license = GPL3
+ makedepends = automake
+ makedepends = autoconf
+ makedepends = git
+ depends = fltk
+ depends = poppler
+ depends = lzo
+ source = git://github.com/clbr/flaxpdf.git
+ sha256sums = SKIP
+
+pkgname = flaxpdf-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a57707eeabf
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,37 @@
+# Port pkgbuild for aur4
+# Original pkgbuild is here: https://github.com/aur-archive/flaxpdf-git
+# manteiner: pekman
+# initial submission: 26/september/2015
+
+pkgname=flaxpdf-git
+pkgver=20152609
+pkgrel=1
+pkgdesc="A simple FLTK PDF viewer"
+arch=('i686' 'x86_64')
+url="https://github.com/clbr/flaxpdf"
+license=('GPL3')
+depends=('fltk' 'poppler' 'lzo')
+makedepends=('automake' 'autoconf' 'git')
+
+source=(git://github.com/clbr/flaxpdf.git)
+sha256sums=('SKIP')
+
+build() {
+ cd flaxpdf
+
+ mkdir -p config
+ touch config/config.rpath
+ ./autogen.sh
+
+ # ensure gcc because clang doesn't support OpenMP yet
+ CC=gcc CXX=g++ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd flaxpdf
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et: