[arch-commits] Commit in libxi/trunk (PKGBUILD)
Ronald van Haren
ronald at archlinux.org
Mon Jul 7 21:41:53 UTC 2008
Date: Monday, July 7, 2008 @ 17:41:53
Author: ronald
Revision: 4519
fix license
Modified:
libxi/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-07-07 21:39:39 UTC (rev 4518)
+++ PKGBUILD 2008-07-07 21:41:53 UTC (rev 4519)
@@ -5,12 +5,14 @@
pkgver=1.1.3
pkgrel=1
pkgdesc="X11 Input extension library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org"
depends=('libxext')
makedepends=('pkgconfig')
options=(!libtool)
+license=('custom')
source=(${url}/releases/individual/lib/libXi-${pkgver}.tar.bz2)
+md5sums=('7c510abb0cad8dc20493fb27ff7859d8')
build() {
cd ${startdir}/src/libXi-${pkgver}
@@ -18,5 +20,8 @@
--build=${CHOST} --host=${CHOST}
make || return 1
make DESTDIR=${startdir}/pkg install || return 1
+
+# install custom license
+install -Dm644 $srcdir/libXi-$pkver/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
}
-md5sums=('7c510abb0cad8dc20493fb27ff7859d8')
More information about the arch-commits
mailing list