[arch-commits] Commit in libxi/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Fri Dec 5 20:59:53 UTC 2008
Date: Friday, December 5, 2008 @ 15:59:53
Author: jgc
Revision: 20582
upgpkg: libxi 1.1.4-1
Modified:
libxi/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-12-05 20:57:52 UTC (rev 20581)
+++ PKGBUILD 2008-12-05 20:59:53 UTC (rev 20582)
@@ -2,7 +2,7 @@
# Maintainer: Alexander Baldeck <alexander at archlinux.org>
# Contributor: Jan de Groot <jgc at archlinux.org>
pkgname=libxi
-pkgver=1.1.3
+pkgver=1.1.4
pkgrel=1
pkgdesc="X11 Input extension library"
arch=('i686' 'x86_64')
@@ -12,16 +12,14 @@
options=(!libtool)
license=('custom')
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
-md5sums=('7c510abb0cad8dc20493fb27ff7859d8')
+md5sums=('7f68180d47b1c28a44718c502ab3bd52')
build() {
- cd ${startdir}/src/libXi-${pkgver}
- ./configure --prefix=/usr --sysconfdir=/etc \
- --build=${CHOST} --host=${CHOST}
+ cd "${srcdir}/libXi-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc || return 1
make || return 1
- make DESTDIR=${startdir}/pkg install || return 1
+ make DESTDIR="${pkgdir}" install || return 1
-# install custom license
-install -Dm644 $srcdir/libXi-$pkver/COPYING \
- $pkgdir/usr/share/licenses/$pkgname/COPYING
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}
More information about the arch-commits
mailing list