summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a5107d16bf7f5df9568782fd96c6d3014b59c4ea (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.27.1
pkgrel=2
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=('c210cf3f22c20e28ea24db97972046538978853d')

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
}