blob: 68c5dfad4988bc3988bcdaa5a1de1beba53e0475 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Butui Hu <hot123tea123@gmail.com>
_pkgname=datasets
pkgname=ncbi-datasets-cli
pkgver=14.4.0
pkgrel=1
pkgdesc='An experimental resource for finding and building datasets across NCBI databases'
arch=('x86_64')
url='https://github.com/ncbi/datasets'
license=('custom')
source=("${pkgname}-${pkgver}.zip::https://github.com/ncbi/datasets/releases/download/v${pkgver}/linux-amd64.cli.package.zip"
"${pkgname}-${pkgver}.tar.gz::https://github.com/ncbi/datasets/archive/refs/tags/v${pkgver}.tar.gz"
)
sha512sums=('2983ab5081ec9b7fea874d7cd5b1d636aa87255b2908cd3904b2752e6d44780248a1d689f4aef5b438d77143bd3d70949cbf1a1b96df32a46ca8279fa90f1371'
'419b1a802742fcbaee3d83b26d0debb53086f12a1be07d44b38b200af6b9d09497c4e9a65fad8c3c3379a0c4263c8d190d7492be72406c120ee4427b501f3a1e')
package() {
install -Dm755 "datasets" "${pkgdir}/usr/bin/ncbi-datasets"
install -Dm755 "dataformat" "${pkgdir}/usr/bin/ncbi-dataformat"
install -Dm644 "${_pkgname}-${pkgver}/LICENSE.md" -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
# vim:set ts=2 sw=2 et:
|