pkgs/lzlib/PKGBUILD

28 lines
695 B
Bash

# Maintainer: Daryl Ronningen <relms@relms.dev>
pkgname=lzlib
pkgver=1.13
pkgrel=1
pkgdesc="A library providing in-memory LZMA compression and decompression functions"
arch=("x86_64")
url="http://www.nongnu.org/lzip/lzlib.html"
license=("BSD")
source=("https://download.savannah.gnu.org/releases/lzip/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=("a1ab58f3148ba4b2674e938438166042137a9275bed747306641acfddc9ffb80")
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --enable-shared
make
}
package() {
cd $pkgname-$pkgver
make DESTDIR=$pkgdir install{,-man}
install -Dm755 minilzip $pkgdir/usr/bin/minilzip
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}