diff options
Diffstat (limited to 'abs')
-rw-r--r-- | abs/core/libxmu/PKGBUILD | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/abs/core/libxmu/PKGBUILD b/abs/core/libxmu/PKGBUILD index 2f01b71..b6c556c 100644 --- a/abs/core/libxmu/PKGBUILD +++ b/abs/core/libxmu/PKGBUILD @@ -1,23 +1,28 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ -# Maintainer: Alexander Baldeck <alexander@archlinux.org> -# Contributor: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 97601 2010-10-31 16:17:53Z jgc $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + pkgname=libxmu -pkgver=1.0.4 +pkgver=1.1.0 pkgrel=1 pkgdesc="X11 miscellaneous micro-utility library" -arch=(i686 x86_64) +arch=('i686' 'x86_64') url="http://xorg.freedesktop.org/" depends=('libxext' 'libxt') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') +license=('custom') options=('!libtool') source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2) +sha1sums=('81876a0848070bfc4476a2538fc16898eb6d96cd') build() { - cd ${startdir}/src/libXmu-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc \ - --host=${CHOST} --build=${CHOST} + cd "${srcdir}/libXmu-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } -md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb') -md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb') +package() { + cd "${srcdir}/libXmu-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} |