diff options
Diffstat (limited to 'abs/core/libdmx/PKGBUILD')
-rw-r--r-- | abs/core/libdmx/PKGBUILD | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/core/libdmx/PKGBUILD b/abs/core/libdmx/PKGBUILD index 335d4a1..a189b3d 100644 --- a/abs/core/libdmx/PKGBUILD +++ b/abs/core/libdmx/PKGBUILD @@ -1,22 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 97777 2010-11-01 22:06:48Z jgc $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libdmx -pkgver=1.0.2 +pkgver=1.1.1 pkgrel=1 pkgdesc="X11 Distributed Multihead extension library" +arch=('x86_64' 'i686') url="http://xorg.freedesktop.org/" -depends=(dmxproto libxext) -makedepends=(pkgconfig) -arch=('i686' 'x86_64') +license=('custom') +depends=('dmxproto' 'libxext') +makedepends=('xorg-util-macros') +options=('!libtool') source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2) -md5sums=(4d866967210d06098fc9f302ed4c79b1) +sha1sums=('49aeab743cb8b667829efda140487b69a7148676') build() { - cd ${startdir}/src/${pkgname}-${pkgver} - ./configure --prefix=/usr \ - --build=${CHOST} --host=${CHOST} + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} |