summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6e93e183f1598f6eeffc2e469c2aa443a99e71b9 (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.28.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=('ff962a600f37bfb675eee4785120b595247481b7')

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
}