summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-18 16:57:03 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-18 16:58:19 -0300
commit05bd30b82bdc47eec254ee22dc2f852b45609a92 (patch)
tree0339e2caa90500a304c21c537fdf543c5d8e9c9e
parent85218d8d92b58704e7ec6f5ac14e55be46e19be1 (diff)
zimlib: add new package to [pcr]
-rw-r--r--pcr/zimlib/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/zimlib/PKGBUILD b/pcr/zimlib/PKGBUILD
new file mode 100644
index 000000000..2bf35f3e0
--- /dev/null
+++ b/pcr/zimlib/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: André Silva <emulatorman@parabola.nu>
+# Contributor (Arch): Yaron de Leeuw < me@jarondl.net >
+
+pkgname=zimlib
+pkgver=1.2
+pkgrel=1
+pkgdesc="The standard implementation of the ZIM specification - openzim"
+arch=('i686' 'x86_64' 'armv7h')
+url="http://openzim.org/wiki/Zimlib"
+license=('GPL2')
+depends=('xz' 'gcc-libs')
+conflicts=('zimlib-git')
+source=("http://www.openzim.org/download/zimlib-$pkgver.tar.gz")
+sha256sums=('ce119c2c5aa4cce24aed387da8072c0b0a39f9d93c832a28908d0b76d85afd43')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir/" install
+}