blob: a7424152f455ca82eb86f0687ed461aa8ef4739c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Bipin Kumar <kbipinkumar@pm.me>
pkgname=agat
_pkgname=AGAT
pkgver=1.1.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=('c30daae3e0d840ffc3c92d86391ee38d4c461a2ffb6ca8e92782babfd842d1513d941f2312818a3dad54ac71f96ccec9e738ce0b377f0e9fb5ce15c8d2361279')
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
}
|