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

Ronald van Haren ronald at archlinux.org
Mon Jul 7 17:31:09 EDT 2008


    Date: Monday, July 7, 2008 @ 17:31:08
  Author: ronald
Revision: 4516

fix license

Modified:
  libxau/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-07 21:19:45 UTC (rev 4515)
+++ PKGBUILD	2008-07-07 21:31:08 UTC (rev 4516)
@@ -9,8 +9,10 @@
 url="http://xorg.freedesktop.org/"
 depends=('glibc')
 makedepends=('pkgconfig' 'xproto')
+license=('custom')
 options=('!libtool')
 source=(${url}/releases/individual/lib/libXau-${pkgver}.tar.bz2)
+md5sums=('75a9f2b85cd1617b5ca98c9095323853')
 
 build() {
   cd ${startdir}/src/libXau-${pkgver}
@@ -18,5 +20,8 @@
               --host=${CHOST} --build=${CHOST}
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
+
+# install custom license
+install -Dm644 $srcdir/libXau-$pkgver/COPYING \
+	$pkgdir/usr/share/licenses/$pkgname/COPYING
 }
-md5sums=('75a9f2b85cd1617b5ca98c9095323853')





More information about the arch-commits mailing list