ip-lookup-void-template/template

26 lines
577 B
Plaintext
Raw Normal View History

2024-02-26 01:32:43 -05:00
pkgname=ip-lookup
2024-02-26 01:39:30 -05:00
version=1.1
2024-02-26 01:32:43 -05:00
revision=1
wrksrc="${pkgname}-${version}"
build_style=gnu-makefile
short_desc="An IP lookup tool"
maintainer="Rich <rich@bandaholics.cash>"
license="GPL-3.0-or-later"
homepage="https://git.deadzone.lol/Wizzard/ip-lookup"
hostmakedepends="git"
makedepends="libcurl-devel cJSON-devel"
do_fetch() {
git clone --depth 1 --branch "main" https://git.deadzone.lol/Wizzard/ip-lookup "${wrksrc}"
}
do_extract() {
:
}
do_build() {
2024-02-26 01:39:30 -05:00
make -C ${wrksrc} SRCDIR=${wrksrc}/src OBJDIR=${wrksrc}/bin
2024-02-26 01:32:43 -05:00
}
do_install() {
2024-02-26 01:39:30 -05:00
vbin ${wrksrc}/bin/ip-lookup
2024-02-26 01:32:43 -05:00
}