summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0c5b0023b93388c3c6bb410f367f4453117c9a9d (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
# Maintainer: Saulius Lukauskas < luksaulius at gmail com >

pkgname=fastx-toolkit
pkgver=0.0.14
pkgrel=1
pkgdesc="The FASTX-Toolkit is a collection of command line tools for Short-Reads FASTA/FASTQ files preprocessing."
arch=("any")
url="https://github.com/agordon/fastx_toolkit"
license=('AGPL3')
depends=('perl' 'perl-perlio-gzip' 'perl-gd' 'gnuplot' 'libgtextutils')
source=("https://github.com/agordon/fastx_toolkit/releases/download/0.0.14/fastx_toolkit-0.0.14.tar.bz2")
md5sums=('bf1993c898626bb147de3d6695c20b40')

prepare() {
    cd fastx_toolkit-${pkgver}
    # https://github.com/agordon/fastx_toolkit/pull/22
    sed -i 's/usage();/usage(); break;/g' src/fasta_formatter/fasta_formatter.cpp
}
build() {
		cd fastx_toolkit-${pkgver}
        ./configure --prefix=${pkgdir}/usr
		make
}

package() {
    cd fastx_toolkit-${pkgver}
    make install
    # Not sure why it tries to install these but they're not necessary
    rm -rf "${pkgdir}/usr/share"
}