diff options
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 |
3 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f94b0ad09fff --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = selscan-bin + pkgdesc = Haplotype based scans for selection + pkgver = v2.0.0 + pkgrel = 1 + url = https://github.com/szpiech/selscan + arch = x86_64 + license = GPL3 + provides = selscan + conflicts = selscan + source = selscan-bin-v2.0.0.tar.gz::https://github.com/szpiech/selscan/archive/refs/tags/v2.0.0.tar.gz + sha256sums = 2af823fe191311263687a73d270b1491dd70fa34cade138ad8a62b195a64bce3 + +pkgname = selscan-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..020f79f76a95 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pkg.tar.zst +*.tar.gz +pkg +src diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..50a7724b80ec --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: r6eve <r6eve at acm dot org> + +pkgname=selscan-bin +pkgver=v2.0.0 +pkgrel=1 +pkgdesc='Haplotype based scans for selection' +arch=('x86_64') +url='https://github.com/szpiech/selscan' +license=('GPL3') +provides=("${pkgname%-bin}") +conflicts=("${pkgname%-bin}") +source=("${pkgname}-${pkgver}.tar.gz"::"${url}/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('2af823fe191311263687a73d270b1491dd70fa34cade138ad8a62b195a64bce3') + +package() { + cd "${srcdir}/${pkgname%-bin}-${pkgver#v}" + + install -Dm0755 -t "${pkgdir}/usr/bin/" "bin/linux/${pkgname%-bin}" + install -Dm0755 -t "${pkgdir}/usr/bin/" "bin/linux/norm" +} |