diff options
author | John D Jones III | 2015-06-16 13:56:21 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 13:56:21 -0600 |
commit | 2e49f9280426479084741c77ff0378e466147f57 (patch) | |
tree | 5beef1289aef408e98d3d4c7a3a1e30311ac8f18 | |
download | aur-2e49f9280426479084741c77ff0378e466147f57.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2efe92d7d853 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = bioperl-run-git + pkgdesc = Wrapper modules around many common bioinformatics applications and tools. + pkgver = 20100604 + pkgrel = 1 + url = http://www.bioperl.org/wiki/Run_package + arch = any + license = GPL + license = PerlArtistic + makedepends = perl-data-stag + makedepends = git + depends = perl + depends = perl-io-string + depends = bioperl-live-git + options = !emptydirs + +pkgname = bioperl-run-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5ce9be5b3ddf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > + +pkgname=bioperl-run-git +pkgver=20100604 +pkgrel=1 +pkgdesc='Wrapper modules around many common bioinformatics applications and tools.' +arch=('any') +license=('GPL' 'PerlArtistic') +url='http://www.bioperl.org/wiki/Run_package' +depends=('perl' 'perl-io-string' 'bioperl-live-git') +makedepends=('perl-data-stag' 'git') +options=(!emptydirs) + +_gitroot='git://github.com/bioperl/bioperl-run.git' +_gitname='bioperl-run' + +build() { + msg 'Getting sources...' + if [ -d $_gitname ]; then + cd $_gitname + git pull origin + else + git clone $_gitroot + cd $_gitname + fi + msg 'GIT checkout done or server timeout' + msg 'Starting make...' + + # non-interactive, uses defaults + perl Build.PL < /dev/null + + ./Build + + ./Build install \ + --install_base /usr \ + --install_path lib=/usr/share/perl5/vendor_perl \ + --install_path bindoc=/usr/share/man/man1 \ + --install_path libdoc=/usr/share/man/man3 \ + --destdir "$pkgdir" + + # remove perllocal.pod and .packlist + find "$pkgdir" -name 'perllocal.pod' -delete + find "$pkgdir" -name '.packlist' -delete +} |