21 lines
639 B
Bash
21 lines
639 B
Bash
|
# Maintainer: Xiufeng Guo <i@m.ac>
|
||
|
pkgname=nali-go-bin
|
||
|
pkgver=0.4.2
|
||
|
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")
|
||
|
sha256sums=('eaeba312b264173188934a126119399d0d85a930195f976a235b713ec17d7ff5')
|
||
|
|
||
|
|
||
|
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"
|
||
|
}
|