From 05bd30b82bdc47eec254ee22dc2f852b45609a92 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 18 Jan 2016 16:57:03 -0300 Subject: zimlib: add new package to [pcr] --- pcr/zimlib/PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pcr/zimlib/PKGBUILD (limited to 'pcr/zimlib/PKGBUILD') 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 +# 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 +} -- cgit v1.2.3-54-g00ecf