diff options
Diffstat (limited to 'extra/liboil/PKGBUILD')
-rw-r--r-- | extra/liboil/PKGBUILD | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/extra/liboil/PKGBUILD b/extra/liboil/PKGBUILD index d227719e6..9b5929aea 100644 --- a/extra/liboil/PKGBUILD +++ b/extra/liboil/PKGBUILD @@ -1,25 +1,27 @@ -# $Id: PKGBUILD 72222 2010-03-13 20:12:59Z jgc $ +# $Id: PKGBUILD 150459 2012-02-17 23:55:27Z allan $ # Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=liboil pkgver=0.3.17 -pkgrel=1 +pkgrel=2 pkgdesc="Library of simple functions that are optimized for various CPUs." arch=('i686' 'x86_64' 'mips64el') 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 + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/liboil/COPYING" } |