summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-21 01:31:28 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-11-21 01:32:39 +0100
commit0e34922d7e9e7bfb2a59ac9339f3cff1bf3834d6 (patch)
treef15a9cd573fe9c3fb8b87e334f727f12a003575e
parentee96a218d08619641f8d9832b8505484a888cd0a (diff)
downloadabslibre-0e34922d7e9e7bfb2a59ac9339f3cff1bf3834d6.tar.gz
abslibre-0e34922d7e9e7bfb2a59ac9339f3cff1bf3834d6.tar.bz2
abslibre-0e34922d7e9e7bfb2a59ac9339f3cff1bf3834d6.zip
pcr: Add lzlib
lzlib is required for guix 1.0.1 Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-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
+}