archlinux/repo/nali-go-bin/PKGBUILD

21 lines
640 B
Bash
Raw Normal View History

2022-06-29 22:39:36 +00:00
# Maintainer: Xiufeng Guo <i@m.ac>
pkgname=nali-go-bin
2022-11-05 13:26:28 +00:00
pkgver=0.7.0
2022-09-18 15:05:41 +00:00
pkgrel=1
2022-06-29 22:39:36 +00:00
pkgdesc='An offline tool for querying IP geographic information and CDN provider.'
arch=('x86_64')
url="https://github.com/zu1k/nali"
license=('MIT')
2022-06-30 17:02:32 +00:00
provides=('nali')
conflicts=('nali')
2022-07-04 16:03:15 +00:00
source=("https://storage.m.ac/mirrors/github-release/zu1k/nali/v$pkgver/nali-linux-amd64-v$pkgver.gz")
2022-11-05 13:26:28 +00:00
sha256sums=('e7fd9b7247ac3d38cc476a6e63ce0cab3e950b6991a9a85ee7050fa51601cbaa')
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"
}