diff options
author | bipin kumar | 2022-12-15 15:25:14 +0530 |
---|---|---|
committer | bipin kumar | 2022-12-15 15:25:14 +0530 |
commit | 4707cabde2a8b56a073415d2f859832e530893c5 (patch) | |
tree | 42e7e6bf4e845a73b8f42c1e0457f26a439099ef | |
download | aur-4707cabde2a8b56a073415d2f859832e530893c5.tar.gz |
Initial commit: package version 1.0.0
-rw-r--r-- | .SRCINFO | 22 | ||||
-rwxr-xr-x | PKGBUILD | 30 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..48eebd7b26f8 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +pkgbase = agat + pkgdesc = Another Gtf/Gff Analysis Toolkit: Suite of tools to handle gene annotations in any GTF/GFF format. https://www.doi.org/10.5281/zenodo.3552717 + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/NBISweden/AGAT + arch = any + license = GPL3 + depends = perl + depends = perl-bioperl + depends = perl-yaml-libyaml + depends = perl-lwp-protocol-https + depends = perl-json-parse + depends = perl-sort-naturally + depends = perl-clone + depends = perl-carp-clan + depends = perl-file-sharedir-install + depends = perl-moose + depends = perl-graph + source = agat-1.0.0.tar.gz::https://github.com/NBISweden/AGAT/archive/refs/tags/v1.0.0.tar.gz + sha512sums = 937b03f5f76afe0a190760046ab05f3c91b7a4582d2cde0053479659e7da460221d7051bd307e06239e5b5786f050eb7492ca4cc8744f022254ab9e3eb49c45a + +pkgname = agat diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..01a110d1cf29 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Bipin Kumar <bipin@ccmb.res.in> + +pkgname=agat +_pkgname=AGAT +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Another Gtf/Gff Analysis Toolkit: Suite of tools to handle gene annotations in any GTF/GFF format. https://www.doi.org/10.5281/zenodo.3552717" +arch=('any') +license=('GPL3') +depends=('perl' 'perl-bioperl' 'perl-yaml-libyaml' 'perl-lwp-protocol-https' 'perl-json-parse' 'perl-sort-naturally' 'perl-clone' 'perl-carp-clan' 'perl-file-sharedir-install' 'perl-moose' 'perl-graph') +url='https://github.com/NBISweden/AGAT' +source=($pkgname-$pkgver.tar.gz::https://github.com/NBISweden/AGAT/archive/refs/tags/v$pkgver.tar.gz) +sha512sums=('937b03f5f76afe0a190760046ab05f3c91b7a4582d2cde0053479659e7da460221d7051bd307e06239e5b5786f050eb7492ca4cc8744f022254ab9e3eb49c45a') + +prepare() { + cd $_pkgname-$pkgver + sed -i '51d' Makefile.PL #remove unneeded json dependency from makefile +} + +build() { + cd $_pkgname-$pkgver + perl Makefile.PL + make PREFIX="$pkgdir"/usr INSTALLDIR=${pkgdir}/usr/bin +} + +package() { + cd $_pkgname-$pkgver + install -d "$pkgdir"/usr/bin/site_perl + make install DESTDIR="$pkgdir" +} |