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

Jan de Groot jgc at archlinux.org
Sun Aug 5 16:03:49 UTC 2007


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

Modified: PKGBUILD (1.29 -> 1.30)

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


----------+
 PKGBUILD |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)


Index: arch/build/base/db/PKGBUILD
diff -u arch/build/base/db/PKGBUILD:1.29 arch/build/base/db/PKGBUILD:1.30
--- arch/build/base/db/PKGBUILD:1.29	Fri Mar 16 11:47:50 2007
+++ arch/build/base/db/PKGBUILD	Sun Aug  5 12:03:48 2007
@@ -1,12 +1,14 @@
-# $Id: PKGBUILD,v 1.29 2007/03/16 15:47:50 tpowa Exp $
+# $Id: PKGBUILD,v 1.30 2007/08/05 16:03:48 jgc Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=db
 pkgver=4.5.20
 pkgrel=1
 pkgdesc="The Berkeley DB embedded database system"
 arch=(i686 x86_64)
+license=('custom')
 url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
 depends=('glibc' 'gcc')
+options=('!libtool')
 source=(http://download-uk.oracle.com/berkeley-db/db-$pkgver.tar.gz)
 install=(db.install)
 md5sums=('b0f1c777708cb8e9d37fb47e7ed3312d')
@@ -19,5 +21,6 @@
   make LIBSO_LIBS=-lpthread || return 1
   make DESTDIR=$startdir/pkg install
   rm -rf $startdir/pkg/usr/docs
-  find $startdir/pkg -name "*.la" -exec rm -f {} \;
+  mkdir -p ${startdir}/pkg/usr/share/licenses/${pkgname}
+  install -m644 ${startdir}/src/${pkgname}-${pkgver}/LICENSE ${startdir}/pkg/usr/share/licenses/${pkgname}/LICENSE
 }




More information about the arch-commits mailing list