summaryrefslogtreecommitdiff
path: root/extra/liboil/PKGBUILD
blob: 36d7acd3fda0f7008fccdac21c0021b3ec3343c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 197082 2013-10-21 16:45:46Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=liboil
pkgver=0.3.17
pkgrel=3
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() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --disable-static
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/liboil/COPYING"
}