[arch-commits] CVS update of arch/build/base/file (PKGBUILD)

Jan de Groot jgc at archlinux.org
Sun Aug 5 12:03:53 EDT 2007


    Date: Sunday, August 5, 2007 @ 12:03:53
  Author: jgc
    Path: /home/cvs-arch/arch/build/base/file

Modified: PKGBUILD (1.34 -> 1.35)

Cleanup PKGBUILDs, remove old patches, add licenses, fix source URLs


----------+
 PKGBUILD |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)


Index: arch/build/base/file/PKGBUILD
diff -u arch/build/base/file/PKGBUILD:1.34 arch/build/base/file/PKGBUILD:1.35
--- arch/build/base/file/PKGBUILD:1.34	Wed May 30 17:45:51 2007
+++ arch/build/base/file/PKGBUILD	Sun Aug  5 12:03:52 2007
@@ -1,13 +1,15 @@
-# $Id: PKGBUILD,v 1.34 2007/05/30 21:45:51 tpowa Exp $
+# $Id: PKGBUILD,v 1.35 2007/08/05 16:03:52 jgc Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=file
 pkgver=4.21
 pkgrel=1
 pkgdesc="File type identification utility"
 arch=(i686 x86_64)
+license=('custom')
 url="ftp://ftp.gw.com/mirrors/pub/unix/file/"
 depends=('glibc' 'zlib')
-source=(ftp://ftp.astron.com/pub/$pkgname/$pkgname-$pkgver.tar.gz)
+options=('!libtool')
+source=(ftp://ftp.gw.com/mirrors/pub/unix/$pkgname/$pkgname-$pkgver.tar.gz)
 md5sums=('9e3503116f4269a1be70220ee2234b0e')
 
 build() {
@@ -15,6 +17,6 @@
   ./configure --prefix=/usr --datadir=/usr/share/misc
   make || return 1
   make DESTDIR=$startdir/pkg install
-
-  find $startdir/pkg -name "*.la" -exec rm {} \;
+  mkdir -p ${startdir}/pkg/usr/share/licenses
+  install -m644 LEGAL.NOTICE ${startdir}/pkg/usr/share/licenses/
 }




More information about the arch-commits mailing list