# Maintainer: Bipin Kumar pkgname=agat _pkgname=AGAT pkgver=1.3.0 pkgrel=1 pkgdesc="Another Gtf/Gff Analysis Toolkit is a suite of tools to handle gene annotations in GTF/GFF format. doi:10.5281/zenodo.3552717" arch=('any') url='https://github.com/NBISweden/AGAT' license=('GPL3') depends=( 'perl-bioperl' 'perl-carp-clan' 'perl-clone' 'perl-file-share' 'perl-file-sharedir' 'perl-file-sharedir-install' 'perl-graph' 'perl-lwp-protocol-https' 'perl-lwp-useragent-determined' 'perl-moose' 'perl-sort-naturally' 'perl-yaml-libyaml' ) source=($pkgname-$pkgver.tar.gz::https://github.com/NBISweden/AGAT/archive/refs/tags/v$pkgver.tar.gz) sha512sums=('ce619906ad77ece472e61e9be5837b5635a85fe98aadd88cf1c02350d6c45414caa959ec07b82f5522d8f273165808c91b40298aea6324be203248a2c2a02dab') options=('!emptydirs' 'purge') build() { cd $_pkgname-$pkgver perl Makefile.PL INSTALLDIRS=vendor make PREFIX="$pkgdir"/usr INSTALLDIR=${pkgdir}/usr/bin } package() { cd $_pkgname-$pkgver install -dm755 "$pkgdir"/usr/bin/vendor_perl make install DESTDIR="$pkgdir" find "$pkgdir" \( -name .packlist -o -name perllocal.pod \) -delete }