mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
26 lines
791 B
Bash
26 lines
791 B
Bash
|
# $Id: PKGBUILD 33845 2009-04-04 21:46:57Z jgc $
|
||
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||
|
|
||
|
pkgname=liboil
|
||
|
pkgver=0.3.16
|
||
|
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=('febb1d9f9bc4c440fcf622dc90f8b6b7')
|
||
|
|
||
|
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
|
||
|
}
|