summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew O'Neill2021-07-31 12:14:05 -0400
committerAndrew O'Neill2021-07-31 12:14:05 -0400
commit9d460335b8f23ed9899e2f00ffa878d8bdb6e74d (patch)
tree6932d790a5daa6dd195fad7c07d10c537a9f7c0e
parent4c7143a86b2cf574e0abb43f59360c32f964db9d (diff)
downloadaur-htslib.tar.gz
Version bump
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD27
2 files changed, 18 insertions, 19 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ebc3f4668cc..d47c5a6f385 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,8 @@
pkgbase = htslib
- pkgdesc = library for high-throughput sequencing data formats
- pkgver = 1.12
+ pkgdesc = A C library for high-throughput sequencing data formats
+ pkgver = 1.13
pkgrel = 1
url = https://github.com/samtools/htslib
- arch = i686
arch = x86_64
license = custom
depends = bzip2
@@ -12,8 +11,7 @@ pkgbase = htslib
provides = tabix
conflicts = tabix
replaces = tabix
- source = https://github.com/samtools/htslib/releases/download/1.12/htslib-1.12.tar.bz2
- sha256sums = 2280141b46e953ba4ae01b98335a84f8e6ccbdb6d5cdbab7f70ee4f7e3b6f4ca
+ source = htslib-1.13.tar.bz2::https://github.com/samtools/htslib/releases/download/1.13/htslib-1.13.tar.bz2
+ sha256sums = f2407df9f97f0bb6b07656579e41a1ca5100464067b6b21bf962a2ea4b0efd65
pkgname = htslib
-
diff --git a/PKGBUILD b/PKGBUILD
index abdf12eb306..6aab8d68c3f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,22 @@
-# Maintainer: Christopher Vittal ("viralstitch") <chris@vittal.dev>
+# Maintainer: Andrew O'Neill <andrew at meanjollies dot com>
+# Contributor: Christopher Vittal ("viralstitch") <chris@vittal.dev>
pkgname=htslib
-pkgver=1.12
+pkgver=1.13
pkgrel=1
-pkgdesc="library for high-throughput sequencing data formats"
-arch=('i686' 'x86_64')
-url="https://github.com/samtools/htslib"
+pkgdesc='A C library for high-throughput sequencing data formats'
+arch=('x86_64')
+url="https://github.com/samtools/${pkgname}"
license=('custom')
depends=('bzip2' 'curl' 'xz')
provides=('tabix')
replaces=('tabix')
conflicts=('tabix')
-source=(https://github.com/samtools/htslib/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2)
-sha256sums=('2280141b46e953ba4ae01b98335a84f8e6ccbdb6d5cdbab7f70ee4f7e3b6f4ca')
+source=("${pkgname}-${pkgver}.tar.bz2::${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('f2407df9f97f0bb6b07656579e41a1ca5100464067b6b21bf962a2ea4b0efd65')
build() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
@@ -27,18 +28,18 @@ build() {
}
check() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${pkgname}-${pkgver}"
make check
}
package() {
- cd $srcdir/$pkgname-$pkgver
+ cd "${pkgname}-${pkgver}"
- make DESTDIR=$pkgdir install
+ make DESTDIR=${pkgdir} install
- install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
# htslib shared library comes installed as 0644
- chmod +x $pkgdir/usr/lib/libhts.so.*.*
+ chmod +x ${pkgdir}/usr/lib/libhts.so.*.*
}