From e3f981f017ed9e42afc1b7e4ac9d37537d3d9cf0 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Sun, 21 Jun 2015 21:06:11 +0000 Subject: xtrans: update to 1.3.5 --- abs/core/xtrans/PKGBUILD | 33 +++++++++++++++++++-------------- 1 file 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 -# Contributor: Jan de Groot +# $Id$ +# Maintainer: Andreas Radke +# Maintainer: Jan de Groot + 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') -- cgit v0.12