diff options
Diffstat (limited to 'abs/core/libxdmcp')
-rw-r--r-- | abs/core/libxdmcp/PKGBUILD | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/abs/core/libxdmcp/PKGBUILD b/abs/core/libxdmcp/PKGBUILD index bc16a60..1c6c2fd 100644 --- a/abs/core/libxdmcp/PKGBUILD +++ b/abs/core/libxdmcp/PKGBUILD @@ -1,22 +1,29 @@ -# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $ +# $Id: PKGBUILD 97611 2010-10-31 16:26:42Z jgc $ #Maintainer: Jan de Groot <jgc@archlinux.org> pkgname=libxdmcp -pkgver=1.0.2 +pkgver=1.1.0 pkgrel=1 pkgdesc="X11 Display Manager Control Protocol library" arch=(i686 x86_64) url="http://xorg.freedesktop.org/" +license=('custom') depends=('xproto' 'glibc') -makedepends=('pkgconfig') +makedepends=('xorg-util-macros') options=('!libtool') source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2) -md5sums=('10facf2bc7cbd5e5c1a698b8a210a582') +sha1sums=('28132db24727552f77e998e6a6798a5b9b30789f') build() { - cd ${startdir}/src/libXdmcp-${pkgver} - ./configure --prefix=/usr --sysconfdir=/etc \ - --host=${CHOST} --build=${CHOST} + cd "${srcdir}/libXdmcp-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc --disable-static make || return 1 - make DESTDIR=${startdir}/pkg install || return 1 } +package() { + cd "${srcdir}/libXdmcp-${pkgver}" + make DESTDIR="${pkgdir}" install || return 1 + + install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" +} + |