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

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


    Date: Monday, July 7, 2008 @ 17:39:39
  Author: ronald
Revision: 4518

fix license

Modified:
  libxmu/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-07 21:36:29 UTC (rev 4517)
+++ PKGBUILD	2008-07-07 21:39:39 UTC (rev 4518)
@@ -5,12 +5,14 @@
 pkgver=1.0.4
 pkgrel=1
 pkgdesc="X11 miscellaneous micro-utility library"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
 url="http://xorg.freedesktop.org/"
 depends=('libxext' 'libxt')
 makedepends=('pkgconfig')
+license=('custom')
 options=('!libtool')
 source=(${url}/releases/individual/lib/libXmu-${pkgver}.tar.bz2)
+md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb')
 
 build() {
   cd ${startdir}/src/libXmu-${pkgver}
@@ -18,6 +20,8 @@
               --host=${CHOST} --build=${CHOST}
   make || return 1
   make DESTDIR=${startdir}/pkg install || return 1
+
+# install custom license
+install -Dm644 $srcdir/libXmu-$pkgver/COPYING \
+	$pkgdir/usr/share/licenses/$pkgname/COPYING
 }
-md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb')
-md5sums=('fb372a5f3ab42b5ba16d7af4d833a0cb')





More information about the arch-commits mailing list