Update PKGBUILD

This commit is contained in:
Wizzard 2024-02-26 02:00:38 -05:00
parent 9b1aa055e0
commit 7006905a07
1 changed files with 6 additions and 5 deletions

View File

@ -1,18 +1,19 @@
pkgname=ip-lookup
pkgver=1.1
pkgver=1.2
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
cd ..
make
}
package() {
install -Dm755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname"
cd ..
install -Dm755 "./bin/$pkgname" "$pkgdir/usr/bin/$pkgname"
}