summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core')
-rw-r--r--abs/core/xtrans/PKGBUILD33
1 files changed, 19 insertions, 14 deletions
diff --git a/abs/core/xtrans/PKGBUILD b/abs/core/xtrans/PKGBUILD
index b2f225e..08e026b 100644
--- a/abs/core/xtrans/PKGBUILD
+++ b/abs/core/xtrans/PKGBUILD
@@ -1,24 +1,29 @@
-# $Id: PKGBUILD 26847 2009-02-13 15:27:40Z andyrtr $
-# Maintainer: Alexander Baldeck <alexander@archlinux.org>
-# Contributor: Jan de Groot <jgc@archlinux.org>
+# $Id$
+# Maintainer: Andreas Radke <andyrtr@archlinux.org>
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
pkgname=xtrans
-pkgver=1.2.5
+pkgver=1.3.5
pkgrel=1
pkgdesc="X transport library"
-arch=(i686 x86_64)
+arch=('any')
license=('custom')
url="http://xorg.freedesktop.org/"
+options=(!emptydirs)
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('adbd3b36932ce4c062cd10f57d78a156ba98d618bdb6f50664da327502bc8301')
build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr || return 1
- make || return 1
+ cd ${pkgname}-${pkgver}
+ ./configure --prefix=/usr
}
-package () {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
- install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+ install -m755 -d "${pkgdir}/usr/lib"
+ mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig"
}
-md5sums=('2d1e57e82acc5f21797e92341415af2f')