pkgname=ucl pkgver=1.03 pkgrel=2 pkgdesc="Portable lossless data compression library written in ANSI C" 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() { cd $pkgname-$pkgver ./configure CPPFLAGS="$CPPFLAGS -std=c90 -fPIC" --prefix=/usr make } package() { cd $pkgname-$pkgver make DESTDIR=$pkgdir install }