[arch-commits] CVS update of extra/science/bioperl (PKGBUILD)
Kevin Piche
kevin at archlinux.org
Sat Jan 26 04:10:32 UTC 2008
Date: Friday, January 25, 2008 @ 23:10:32
Author: kevin
Path: /home/cvs-extra/extra/science/bioperl
Modified: PKGBUILD (1.4 -> 1.5)
upgpkg: bioperl 1.5.1-2
Updated for new perl policy
----------+
PKGBUILD | 32 ++++++++++++++++++++++----------
1 file changed, 22 insertions(+), 10 deletions(-)
Index: extra/science/bioperl/PKGBUILD
diff -u extra/science/bioperl/PKGBUILD:1.4 extra/science/bioperl/PKGBUILD:1.5
--- extra/science/bioperl/PKGBUILD:1.4 Sat Jul 15 11:15:25 2006
+++ extra/science/bioperl/PKGBUILD Fri Jan 25 23:10:32 2008
@@ -1,20 +1,32 @@
-# $Id: PKGBUILD,v 1.4 2006/07/15 15:15:25 andyrtr Exp $
+# $Id: PKGBUILD,v 1.5 2008/01/26 04:10:32 kevin Exp $
# Maintainer: damir <damir at archlinux.org>
pkgname=bioperl
pkgver=1.5.1
-pkgrel=1
-pkgdesc="Bioperl is a collection of perl modules that facilitate the development of perl scripts for bioinformatics applications."
+pkgrel=2
+pkgdesc="A collection of perl modules that facilitate the development of perl scripts for bioinformatics applications"
arch=(i686 x86_64)
+license=('GPL' 'PerlArtistic')
url="http://www.bioperl.org"
-depends=('perl')
-
+depends=('perl>=5.10.0')
source=($url/DIST/$pkgname-$pkgver.tar.gz)
+options=(!emptydirs)
+md5sums=('f510c871a1d17ac4ccc8ad3e6c9bad17')
+
build() {
cd $startdir/src/$pkgname-$pkgver
- yes a | perl Makefile.PL
- make || return 1
- make DESTDIR=$startdir/pkg install
+# yes a | perl Makefile.PL
+# make || return 1
+# make DESTDIR=$startdir/pkg install
+
+# mv $startdir/pkg/usr/lib/perl5/site_perl/?.?.? $startdir/pkg/usr/lib/perl5/site_perl/current
+# rm -rf $startdir/pkg/usr/lib/perl5/?.?.?
+
+ # install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+ make install DESTDIR=${startdir}/pkg || return 1
- mv $startdir/pkg/usr/lib/perl5/site_perl/?.?.? $startdir/pkg/usr/lib/perl5/site_perl/current
- rm -rf $startdir/pkg/usr/lib/perl5/?.?.?
+ # remove perllocal.pod and .packlist
+ find ${startdir}/pkg -name perllocal.pod -delete
+ find ${startdir}/pkg -name .packlist -delete
}
More information about the arch-commits
mailing list