First push

This commit is contained in:
2024-02-26 01:20:37 -05:00
commit dea70eda0c
4 changed files with 106 additions and 0 deletions

18
PKGBUILD Normal file
View File

@@ -0,0 +1,18 @@
pkgname=ip-lookup
pkgver=1.1
pkgrel=1
pkgdesc="A simple IP lookup tool that shows city, ASN, and other information. Deadzone.lol Motherfucker."
arch=('x86_64')
url="https://deadzone.lol"
license=('GPL')
depends=('curl' 'cjson')
source=("main.c")
sha256sums=('SKIP')
build() {
gcc -o "$pkgname" "$srcdir/main.c" -lcurl -lcjson
}
package() {
install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
}