# $Id: PKGBUILD 48412 2009-08-01 19:58:10Z jgc $ # Maintainer: Alexander Baldeck # Contributor: Jan de Groot pkgname=xf86-video-apm pkgver=1.2.2 pkgrel=1 pkgdesc="X.org Alliance ProMotion video driver" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" license=('custom') depends=('glibc') makedepends=('pkgconfig' 'xorg-server>=1.6.3') conflicts=('xorg-server<1.6.3') groups=('xorg-video-drivers') options=('!libtool') source=(${url}/releases/individual/driver/${pkgname}-${pkgver}.tar.bz2 LICENSE) md5sums=('48441a19aaf015570b267f2a8e67d8ab' '2b3c2bcfb649de50646172064bc02b14') build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr || return 1 make || return 1 make DESTDIR="${pkgdir}" install || return 1 install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1 }