summaryrefslogtreecommitdiff
path: root/pcr/lzlib/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/lzlib/PKGBUILD')
-rw-r--r--pcr/lzlib/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/lzlib/PKGBUILD b/pcr/lzlib/PKGBUILD
new file mode 100644
index 000000000..3bdd22be3
--- /dev/null
+++ b/pcr/lzlib/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer(AUR): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor(AUR): Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
+
+pkgname=lzlib
+pkgver=1.11
+pkgrel=1
+pkgdesc="A library providing in-memory LZMA compression and decompression functions"
+arch=('i686' 'x86_64')
+url="http://www.nongnu.org/lzip/lzlib.html"
+license=('GPL3')
+depends=('gcc-libs')
+options=('!emptydirs')
+source=(http://download.savannah.gnu.org/releases/lzip/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
+validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz
+sha256sums=('6c5c5f8759d1ab7c4c3c53788ea2d9daad04aeddcf338226893f8ff134914d36'
+ 'SKIP')
+
+build() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-$pkgver
+
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm755 minilzip "${pkgdir}"/usr/bin/minilzip
+}