# Maintainer: Natanael Copa pkgname=liboil pkgver=0.3.17 pkgrel=2 pkgdesc="Library of simple functions that are optimized for various CPUs." url="http://liboil.freedesktop.org/" license="custom" subpackages="$pkgname-dev $pkgname-doc" depends= source="http://$pkgname.freedesktop.org/download/$pkgname-$pkgver.tar.gz" build () { unset CFLAGS cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make -j1 DESTDIR="$pkgdir" install || return 1 install -m755 -d "$pkgdir"/usr/share/licenses/liboil install -m644 COPYING "$pkgdir"/usr/share/licenses/liboil/ || return 1 } md5sums="47dc734f82faeb2964d97771cfd2e701 liboil-0.3.17.tar.gz"