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