Subject: [#HPH-202-17182]: [PATCH] testing/ip2location: new aport

From: IP2Location Customer Success <[email-masked]>
Date: Thu, 12 Jan 2023 15:44:02 +0800

https://github.com/chrislim2888/IP2Location-C-Library
Lookup country details by IP.
---
 testing/ip2location/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/ip2location/APKBUILD

diff --git a/testing/ip2location/APKBUILD b/testing/ip2location/APKBUILD
new file mode 100644
index 0000000000..74079045f0
--- /dev/null
+++ b/testing/ip2location/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: IP2Location <[email-masked]>
+pkgname=ip2location
+_pkgname="IP2Location"
+pkgver=8.5.1
+pkgrel=1
+pkgdesc="Lookup country, region and city information by IP addresses"
+url="https://www.ip2location.com/development-libraries/ip2location/c"
+arch="all"
+license="MIT"
+makedepends="build-base automake autoconf libtool zlib-dev"
+subpackages="$pkgname-dev"
+source="https://github.com/chrislim2888/IP2Location-C-Library/archive/refs/tags/$pkgver.zip"
+builddir="$srcdir"/IP2Location-C-Library-$pkgver
+
+build() {
+	autoreconf -i -v --force
+	./configure
+	make
+}
+
+package() {
+	make install
+}
+
+check() {
+	make check
+}
+
+sha512sums="
+f6bebed88957eb17a5d2eb781808aa755f10ebbffe2cbd21d6c4fe7ece8dedd18ba784fb95ed05f92626c5931a4e5e66cc8a7440389331e3e34eb00c3a523445  8.5.1.zip
+"
-- 
2.38.2

Regards,

SK Kiu
IP2Location Customer Success Team
Hexasoft Development Sdn Bhd
Website: https://www.ip2location.com
Facebook: https://www.facebook.com/ip2location
Twitter: https://www.twitter.com/ip2location