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