blob: 1c81138f37ae4dba2247c9dc9a995cc742cf2a5f (
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: Piotr Balwierz
pkgname=bedtools
pkgver=2.31.1
epoch=1
pkgrel=1
pkgdesc='powerful toolset for genome arithmetic'
arch=('i686' 'x86_64')
url="https://github.com/arq5x/bedtools2"
license=('GPL2')
depends=('bash' 'zlib')
makedepends=('python')
checkdepends=('samtools')
source=("https://github.com/arq5x/bedtools2/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
sha1sums=('5b6a19564164613bced1f7efc07a081dd3bab6cb')
prepare(){
cd $srcdir/${pkgname}2
sed -i "s@python3@python@g" Makefile
}
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
}
|