Date: Sunday, February 26, 2012 @ 05:45:03 Author: pierre Revision: 151421
upgpkg: libxinerama 1.1.1-2 rebuild old package Modified: libxinerama/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2012-02-26 10:44:21 UTC (rev 151420) +++ PKGBUILD 2012-02-26 10:45:03 UTC (rev 151421) @@ -1,23 +1,28 @@ # $Id$ # Maintainer: Jan de Groot <j...@archlinux.org> # Contributor: Alexander Baldeck <alexan...@archlinux.org> + pkgname=libxinerama pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="X11 Xinerama extension library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" license=('custom') depends=('libxext' 'xineramaproto') makedepends=('xorg-util-macros') -options=(!libtool) -source=(${url}/releases/individual/lib/libXinerama-${pkgver}.tar.bz2) +options=('!libtool') +source=("${url}/releases/individual/lib/libXinerama-${pkgver}.tar.bz2") sha1sums=('f030b0cfcce15502aac78188524f32a6f29bd0a4') build() { cd "${srcdir}/libXinerama-${pkgver}" ./configure --prefix=/usr make +} + +package() { + cd "${srcdir}/libXinerama-${pkgver}" make DESTDIR="${pkgdir}" install install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"