summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 720087f6e8097dfcd97f150971c69f95fb0a8f32 (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
# Maintainer: Sebastian Wilzbach <sebi [at] wilzbach [dot] me>
# Contributor: Cory Giles <mail@corygil.es>

pkgname=bedops
pkgver=2.4.19
pkgrel=1
pkgdesc="Highly scalable genomic feature operations."
arch=('i686' 'x86_64')
url="http://github.com/bedops/bedops/"
license=('GPL')
depends=('python2')

if [ "$CARCH" == "x86_64" ]; then
md5sums=('52f519ce18ef0d9737422ee40e18048b')
    _arch="$CARCH"
else
    _arch="i386"
fi

source=(https://github.com/${pkgname}/${pkgname}/releases/download/v${pkgver}/${pkgname}_linux_${_arch}-v${pkgver}.tar.bz2)

build() {
    cd "$srcdir"
    sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/env python2/g' bin/*
}

package() {
    cd "$srcdir"
    mkdir -p "$pkgdir/usr/bin"
    install -t "$pkgdir/usr/bin" bin/*
}