blob: 854942ebaef8138fa0a3306e042af3a57888f478 (
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
|
# Maintainer: Clint Valentine <valentine.clint@gmail.com>
pkgname=bedtools-git
pkgver=v2.27.1.r0.g1de417b9
pkgrel=1
pkgdesc="powerful toolset for genome arithmetic."
arch=('i686' 'x86_64')
url=https://github.com/arq5x/"${pkgname//-git/}"2
license=('GPL2')
depends=('bash' 'zlib')
checkdepends=('python')
provides=('bedtools')
conflicts=('bedtools')
source=("git+https://github.com/arq5x/${pkgname//-git/}2.git")
md5sums=('SKIP')
pkgver() {
cd "${pkgname//-git/}"2
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}"/"${pkgname//-git/}"2
make
}
check()
{
cd "${srcdir}"/"${pkgname//-git/}"2
make test
}
package()
{
cd "${srcdir}"/"${pkgname//-git/}"2
for file in bin/*
do
install -Dm755 "${file}" "${pkgdir}"/usr/bin/$(basename ${file})
done
}
|