upgpkg: mmdbinspect 0.1.1-1

upstream release

formatting
This commit is contained in:
2024-03-23 18:29:32 +01:00
parent 95e9079ffb
commit 2a985d436d
2 changed files with 8 additions and 9 deletions

View File

@@ -6,11 +6,10 @@ pkgbase = mmdbinspect
arch = x86_64 arch = x86_64
arch = aarch64 arch = aarch64
arch = armv7h arch = armv7h
arch = armv6h license = Apache-2.0
license = Apache
makedepends = go makedepends = go
depends = glibc depends = glibc
source = https://github.com/maxmind/mmdbinspect/archive/refs/tags/v0.1.1.tar.gz source = mmdbinspect-0.1.1.tar.gz::https://github.com/maxmind/mmdbinspect/archive/refs/tags/v0.1.1.tar.gz
b2sums = 3e3e8c5a9d7bf256e1700323f968589f066a187d0ca29fad5fb811431de4874e1918841862ef3ea497b9c7c0b32da16c4e5c737a5399330cf655bec2e0de1998 b2sums = 3e3e8c5a9d7bf256e1700323f968589f066a187d0ca29fad5fb811431de4874e1918841862ef3ea497b9c7c0b32da16c4e5c737a5399330cf655bec2e0de1998
pkgname = mmdbinspect pkgname = mmdbinspect

View File

@@ -3,17 +3,17 @@
pkgname=mmdbinspect pkgname=mmdbinspect
pkgver=0.1.1 pkgver=0.1.1
pkgrel=1 pkgrel=1
pkgdesc="look up records for one or more IPs/networks in one or more .mmdb databases" pkgdesc='look up records for one or more IPs/networks in one or more .mmdb databases'
arch=(x86_64 aarch64 armv7h armv6h) arch=(x86_64 aarch64 armv7h)
url="https://github.com/maxmind/mmdbinspect" url="https://github.com/maxmind/mmdbinspect"
license=(Apache) license=(Apache-2.0)
depends=(glibc) depends=(glibc)
makedepends=(go) makedepends=(go)
source=("https://github.com/maxmind/$pkgname/archive/refs/tags/v$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
b2sums=('3e3e8c5a9d7bf256e1700323f968589f066a187d0ca29fad5fb811431de4874e1918841862ef3ea497b9c7c0b32da16c4e5c737a5399330cf655bec2e0de1998') b2sums=('3e3e8c5a9d7bf256e1700323f968589f066a187d0ca29fad5fb811431de4874e1918841862ef3ea497b9c7c0b32da16c4e5c737a5399330cf655bec2e0de1998')
build() { build() {
cd "$pkgname-$pkgver" cd $pkgname-$pkgver
export CGO_CPPFLAGS="${CPPFLAGS}" export CGO_CPPFLAGS="${CPPFLAGS}"
export CGO_CFLAGS="${CFLAGS}" export CGO_CFLAGS="${CFLAGS}"
@@ -31,7 +31,7 @@ build() {
} }
package() { package() {
cd "$pkgname-$pkgver" cd $pkgname-$pkgver
install -Dm755 -t "$pkgdir"/usr/bin $pkgname install -Dm755 -t "$pkgdir"/usr/bin $pkgname
} }