diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-06-22 22:17:20 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2019-06-22 22:17:20 -0700 |
commit | 4e746351f0d0ea36360eda048ac76f533043e6bf (patch) | |
tree | e03f483e73a7e7ecf8b96997a29fbbefc64ac404 | |
download | lzlib-4e746351f0d0ea36360eda048ac76f533043e6bf.tar.xz |
Initial commit
-rw-r--r-- | PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..bcf1e58 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: jc_gargma <jc_gargma@iserlohn-fortress.net> +# Maintainer (AUR): Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor (AUR): Christoph Zeiler <archNOSPAM_at_moonblade.dot.org> + +# # I maintain this because: +# AUR version uses http +# AUR version doesn't consolidate the signature + +pkgname=lzlib +pkgver=1.11 +pkgrel=1 +pkgdesc="A library providing in-memory LZMA compression and decompression functions" +arch=('i686' 'x86_64') +url="https://www.nongnu.org/lzip/lzlib.html" +license=('GPL3') +depends=('gcc-libs') +options=('!emptydirs') +source=(https://download.savannah.gnu.org/releases/lzip/$pkgname/$pkgname-$pkgver.tar.gz{,.sig}) +sha256sums=('6c5c5f8759d1ab7c4c3c53788ea2d9daad04aeddcf338226893f8ff134914d36' + 'SKIP') +validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz + +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 +} |