[arch-commits] Commit in libxtst/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Oct 31 16:11:54 UTC 2010


    Date: Sunday, October 31, 2010 @ 12:11:54
  Author: jgc
Revision: 97591

upgpkg: libxtst 1.2.0-1
Update to 1.2.0

Modified:
  libxtst/trunk/PKGBUILD

----------+
 PKGBUILD |   18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-10-31 16:08:55 UTC (rev 97590)
+++ PKGBUILD	2010-10-31 16:11:54 UTC (rev 97591)
@@ -2,22 +2,24 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libxtst
-pkgver=1.1.0
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="X11 Testing -- Resource extension library"
 arch=(i686 x86_64)
 url="http://xorg.freedesktop.org/"
 license=('custom')
-depends=('libxext>=1.1' 'libxi>=1.3' 'recordproto>=1.14' 'inputproto>=2.0')
-makedepends=('pkgconfig' 'xmlto')
+depends=('libxext' 'libxi' 'recordproto' 'inputproto')
+makedepends=('xorg-util-macros')
 options=('!libtool')
 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.bz2)
-md5sums=('dd6f3e20b87310187121539f9605d977')
+sha1sums=('9fb06ed599caf7f9e7115cbbfadf02b47c17aa72')
 
 build() {
   cd "${srcdir}/libXtst-${pkgver}"
-  ./configure --prefix=/usr --disable-static || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+  ./configure --prefix=/usr --disable-static
+  make
+  make DESTDIR="${pkgdir}" install
+
+  install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
 }




More information about the arch-commits mailing list