diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/liboil/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/liboil/PKGBUILD')
-rw-r--r-- | extra/liboil/PKGBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/liboil/PKGBUILD b/extra/liboil/PKGBUILD new file mode 100644 index 000000000..e206abb99 --- /dev/null +++ b/extra/liboil/PKGBUILD @@ -0,0 +1,25 @@ +# $Id: PKGBUILD 72222 2010-03-13 20:12:59Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=liboil +pkgver=0.3.17 +pkgrel=1 +pkgdesc="Library of simple functions that are optimized for various CPUs." +arch=('i686' 'x86_64') +license=('custom') +url="http://liboil.freedesktop.org/" +depends=('glibc') +makedepends=('glib2' 'pkgconfig' 'docbook-xsl') +options=('!libtool' '!makeflags') +source=(${url}/download/${pkgname}-${pkgver}.tar.gz) +md5sums=('47dc734f82faeb2964d97771cfd2e701') + +build() { + unset CFLAGS + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr || return 1 + make || return 1 + make DESTDIR="${pkgdir}" install || return 1 + install -m755 -d "${pkgdir}/usr/share/licenses/liboil" + install -m644 COPYING "${pkgdir}/usr/share/licenses/liboil/" || return 1 +} |