2022-06-29 22:39:36 +00:00
|
|
|
# Maintainer: Xiufeng Guo <i@m.ac>
|
|
|
|
pkgname=nali-go-bin
|
2022-06-30 12:16:43 +00:00
|
|
|
pkgver=0.4.6
|
2022-06-29 22:39:36 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc='An offline tool for querying IP geographic information and CDN provider.'
|
|
|
|
arch=('x86_64')
|
|
|
|
url="https://github.com/zu1k/nali"
|
|
|
|
license=('MIT')
|
|
|
|
provides=('nali-go')
|
|
|
|
conflicts=('nali-go')
|
|
|
|
source=("https://github.com/zu1k/nali/releases/download/v$pkgver/nali-linux-amd64-v$pkgver.gz")
|
2022-06-30 12:16:43 +00:00
|
|
|
sha256sums=('a1fc798c534328b0a447f01970f4de1de2e0556a87e595f717f03d95b15e4b59')
|
2022-06-29 22:39:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
package() {
|
|
|
|
# Move package contents to /usr/bin/nali
|
|
|
|
cd "${srcdir}"
|
|
|
|
chmod +x "nali-linux-amd64-v$pkgver"
|
|
|
|
install -Dm755 "nali-linux-amd64-v$pkgver" "${pkgdir}/usr/bin/nali"
|
|
|
|
}
|