Update PKGBUILD
This commit is contained in:
parent
9b1aa055e0
commit
7006905a07
11
PKGBUILD
11
PKGBUILD
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue