PKGBUILDs/extra/libxres/PKGBUILD
2009-10-09 21:23:22 -05:00

24 lines
827 B
Bash

# $Id: PKGBUILD 35650 2009-04-15 00:32:05Z eric $
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=libxres
pkgver=1.0.3
pkgrel=2
pkgdesc="X11 Resource extension library"
arch=(i686 x86_64)
url="http://xorg.freedesktop.org"
license=('custom')
depends=('libxext')
makedepends=('pkgconfig' 'resourceproto' 'damageproto' 'compositeproto' 'scrnsaverproto')
options=(!libtool)
source=(${url}/releases/individual/lib/libXres-${pkgver}.tar.bz2)
md5sums=('de66ffb657aba64c9d6dbdeabb757f3e')
build() {
cd ${srcdir}/libXres-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc \
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${pkgdir} install || return 1
install -D -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
}