summaryrefslogtreecommitdiff
path: root/extra/libxdmcp/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libxdmcp/PKGBUILD')
-rw-r--r--extra/libxdmcp/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/extra/libxdmcp/PKGBUILD b/extra/libxdmcp/PKGBUILD
index 85b694ad7..548f8c9f5 100644
--- a/extra/libxdmcp/PKGBUILD
+++ b/extra/libxdmcp/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 97611 2010-10-31 16:26:42Z jgc $
+# $Id: PKGBUILD 151412 2012-02-26 10:38:01Z pierre $
#Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=libxdmcp
pkgver=1.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="X11 Display Manager Control Protocol library"
-arch=(i686 x86_64 'mips64el')
+arch=('i686' 'x86_64' 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('xproto' 'glibc')
makedepends=('xorg-util-macros')
options=('!libtool')
-source=(${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2)
+source=("${url}/releases/individual/lib/libXdmcp-${pkgver}.tar.bz2")
sha1sums=('28132db24727552f77e998e6a6798a5b9b30789f')
build() {
cd "${srcdir}/libXdmcp-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --disable-static
make
+}
+
+package() {
+ cd "${srcdir}/libXdmcp-${pkgver}"
make DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"