summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 43e1996f1275a1bd3b682a33e8037748a76631c3 (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
# Maintainer: Piotr Balwierz
pkgname=bedtools
pkgver=2.30.0
pkgrel=1
pkgdesc='powerful toolset for genome arithmetic'
arch=('i686' 'x86_64')
url="https://github.com/arq5x/bedtools2"
license=('GPL2')
depends=('bash' 'zlib')
checkdepends=('python' 'samtools')
source=("https://github.com/arq5x/bedtools2/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha1sums=('e6e87b4bcbda17348a1df2ff6386fccb8ec1f75b')

build()
{
	cd $srcdir/${pkgname}2
	make
}

#check disabled because it requires python and samtools. Uncomment if you wish.
#~ check()
#~ {
	#~ cd $srcdir/${pkgname}2
	#~ make test
#~ }

package()
{
	cd $srcdir/${pkgname}2
	for f in bin/*
	do
		install -Dm755 $f $pkgdir/usr/bin/$(basename $f)
	done
}