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

Jan de Groot jgc at archlinux.org
Thu May 22 13:44:01 EDT 2008


    Date: Thursday, May 22, 2008 @ 13:44:01
  Author: jgc
Revision: 1881

upgpkg: libx11 1.1.4-2
    Fix autoreconf call, add some checks to detect failures

Modified:
  libx11/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-22 17:32:15 UTC (rev 1880)
+++ PKGBUILD	2008-05-22 17:44:01 UTC (rev 1881)
@@ -15,27 +15,30 @@
 source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.bz2
 	012_ru_RU_UTF-8_XLC_LOCALE.diff
 	xorg.sh)
+md5sums=('1469a5a8aa8d288dce6f4c45d2f68dc3'
+         'c7e38a68b932ed557bc71979eed2a8a1'
+         'ea3f14c529072c8be061493763479800')
 
 build() {
   cd ${startdir}/src/libX11-${pkgver}
   patch -Np1 -i ${startdir}/src/012_ru_RU_UTF-8_XLC_LOCALE.diff || return 1
 
 
-  libtoolize --force --copy
-  autoreconf -fv
+  libtoolize --force --copy || return 1
+  aclocal || return 1
+  autoconf || return 1
+  automake --add-missing || return 1
 
   ./configure --prefix=/usr \
-              --with-xcb
+              --with-xcb || return 1
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
 
-  mkdir -p ${startdir}/pkg/etc/profile.d 
+  install -d -m755 ${startdir}/pkg/etc/profile.d 
   install -m755 ${startdir}/src/xorg.sh \
                 ${startdir}/pkg/etc/profile.d/ || return 1
 
+  install -d -m755 ${startdir}/pkg/usr/share/licenses/${pkgname}
   install -m644 -D ${startdir}/src/libX11-${pkgver}/COPYING \
-                   ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
+                   ${startdir}/pkg/usr/share/licenses/${pkgname}/ || return 1
 }
-md5sums=('1469a5a8aa8d288dce6f4c45d2f68dc3'
-         'c7e38a68b932ed557bc71979eed2a8a1'
-         'ea3f14c529072c8be061493763479800')





More information about the arch-commits mailing list