Package Details: ipinfo-cli-bin 3.3.2-1

Git Clone URL: https://aur.archlinux.org/ipinfo-cli-bin.git (read-only, click to copy)
Package Base: ipinfo-cli-bin
Description: Official Command Line Interface for the IPinfo API (IP geolocation and other types of IP data)
Upstream URL: https://ipinfo.io
Keywords: asn geolocation ip network
Licenses: Apache-2.0
Conflicts: ipinfo-cli
Provides: ipinfo-cli
Submitter: ihipop
Maintainer: ihipop
Last Packager: ihipop
Votes: 1
Popularity: 0.36
First Submitted: 2024-06-18 02:55 (UTC)
Last Updated: 2026-05-08 02:34 (UTC)

Latest Comments

ihipop commented on 2026-04-15 11:33 (UTC)

@gwuensch thanks

gwuensch commented on 2026-03-24 19:26 (UTC)

The binary should be directly installed to /usr/bin/, there's no reason to use /opt/. Also, the Apache-2.0 license is already provided with the licenses package and doesn't need to be installed separately. Feel free to use this diff:

diff --git a/PKGBUILD b/PKGBUILD
index cc7402e..0d21913 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,8 +10,6 @@ license=('Apache-2.0')
 depends=('glibc')
 provides=("${_pkgname}=${pkgver}")
 conflicts=("${_pkgname}")
-source=("LICENSE")
-sha256sums=('4d10fe5f3aa176b05b229a248866bad70b834c173f1252a814ff4748d8a13837')
 source_x86_64=("${pkgname}-${pkgver}_x86_64.tar.gz::https://github.com/ipinfo/cli/releases/download/ipinfo-${pkgver}/ipinfo_${pkgver}_linux_amd64.tar.gz")
 sha256sums_x86_64=("81e62958fcb91f979c03d0f10887486df1460d432d0d4c2e86a3079f6039840a")
 source_armv7h=("${pkgname}-${pkgver}_armv7h.tar.gz::https://github.com/ipinfo/cli/releases/download/ipinfo-${pkgver}/ipinfo_${pkgver}_linux_arm.tar.gz")
@@ -22,14 +20,10 @@ sha256sums_aarch64=("b1e00471f50cdae33cf7423f21970fa6f1e05bc13167babe43c6869988d


 build() {
-  #ls -la
   find . -type f -name 'ipinfo_'${pkgver}'_*' -exec mv {} ipinfo \;
   strip ipinfo
 }

 package() {
-  install -Dm755 -d "${pkgdir}/"{opt/${pkgname},/usr/bin}
-  install -Dm644 "${srcdir}/LICENSE" -t "${pkgdir}/opt/${pkgname}"
-  install -Dm755 "${srcdir}/ipinfo" -t "${pkgdir}/opt/${pkgname}"
-  ln -sf "/opt/${pkgname}/ipinfo" "${pkgdir}/usr/bin/ipinfo"
-}
\ No newline at end of file
+  install -Dm755 "${srcdir}/ipinfo" -t "${pkgdir}/usr/bin"
+}