summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-06-21 21:06:11 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-06-21 21:06:11 (GMT)
commite3f981f017ed9e42afc1b7e4ac9d37537d3d9cf0 (patch)
treef92abfeaa507fa8d24b6ef490084fb8f762b475c
parent21be973f7a18a7d2715048fca860204c1c64104c (diff)
downloadlinhes_pkgbuild-e3f981f017ed9e42afc1b7e4ac9d37537d3d9cf0.zip
linhes_pkgbuild-e3f981f017ed9e42afc1b7e4ac9d37537d3d9cf0.tar.gz
linhes_pkgbuild-e3f981f017ed9e42afc1b7e4ac9d37537d3d9cf0.tar.bz2
xtrans: update to 1.3.5
-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')