desktop/ucl/PKGBUILD

24 lines
510 B
Bash
Raw Normal View History

pkgname=ucl
pkgver=1.03
2017-10-27 17:06:29 +08:00
pkgrel=2
pkgdesc="Portable lossless data compression library written in ANSI C"
2017-10-27 17:06:29 +08:00
arch=('x86_64')
license=('GPL')
url="http://www.oberhumer.com/opensource/ucl/"
options=(!libtool)
source=(http://www.oberhumer.com/opensource/$pkgname/download/$pkgname-$pkgver.tar.gz)
md5sums=('852bd691d8abc75b52053465846fba34')
build() {
2017-10-27 17:06:29 +08:00
cd $pkgname-$pkgver
./configure CPPFLAGS="$CPPFLAGS -std=c90 -fPIC" --prefix=/usr
make
}
package() {
2017-10-27 17:06:29 +08:00
cd $pkgname-$pkgver
2017-10-27 17:06:29 +08:00
make DESTDIR=$pkgdir install
}