summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b0013183f193ea7a0ecf98b16452a1c2e0949cf4 (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: Andrew Sun <adsun701 at gmail dot com>
# Contributor: Christian Krause ("wookietreiber") <kizkizzbangbang at googlemail dot com>

pkgname=libbigwig
pkgver=0.4.7
pkgrel=1
pkgdesc="library for handling bigWig files"
arch=('i686' 'x86_64')
url="https://github.com/dpryan79/libBigWig"
depends=('curl')
license=('MIT')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/dpryan79/libBigWig/archive/${pkgver}.tar.gz"
        "libbigwig-flags.patch")
sha256sums=('8e057797011d93fa00e756600898af4fe6ca2d48959236efc9f296abe94916d9'
            'f27db1d7169e8f28130791c6fa8fd33accb9696be5d541880f53b92719f32fb1')

prepare() {
  cd "${srcdir}/libBigWig-${pkgver}"
  patch -Np1 -i "${srcdir}/libbigwig-flags.patch"
}

build() {
  cd "${srcdir}/libBigWig-${pkgver}"
  make
}

package() {
  cd "${srcdir}/libBigWig-${pkgver}"
  make prefix=${pkgdir}/usr install
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}