~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] testing/ip2locationio: new aport https://github.com/ip2location/ip2location-io-cli An official CLI tool for IP2Location.io Geolocation API service.

Details
Message ID
<20231123005135.9062-1-support@ip2location.com>
DKIM signature
missing
Download raw message
Patch: +33 -0
---
 testing/ip2locationio/APKBUILD | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)
 create mode 100644 testing/ip2locationio/APKBUILD

diff --git a/testing/ip2locationio/APKBUILD b/testing/ip2locationio/APKBUILD
new file mode 100644
index 00000000000..0bb69c333f2
--- /dev/null
+++ b/testing/ip2locationio/APKBUILD
@@ -0,0 +1,33 @@
# Maintainer: IP2Location <support@ip2location.com>
pkgname=ip2locationio
pkgver=1.0.2
pkgrel=0
pkgdesc="An official CLI tool for IP2Location.io Geolocation API service."
url="https://github.com/ip2location/ip2location-io-cli+"
arch="all"
license="MIT"
makedepends="go"
source="$pkgname-$pkgver.tar.gz::https://github.com/ip2location/ip2location-io-cli/archive/refs/tags/v$pkgver.tar.gz"

builddir="$srcdir/ip2location-io-cli-$pkgver"

export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"

build() {
	cd ip2locationio
	go build
}

package() {
	install -Dm755 "$builddir"/ip2locationio/ip2locationio "$pkgdir"/usr/bin/ip2locationio
}

check() {
	cd ./
}

sha512sums="
e5a3e49b02516dfa378ba0a4e817af1815d1007a1f5ef8d6df06d10a84fed70362a8d1105555a2e35d7d4aefc328ed18a816dbf4b45b82f69bf4e8a96fbcf251  ip2locationio-1.0.2.tar.gz
"
-- 
2.38.2
Reply to thread Export thread (mbox)