diff options
author | uidops | 2021-03-20 09:55:40 +0330 |
---|---|---|
committer | uidops | 2021-03-20 09:55:40 +0330 |
commit | 1fc37d69834d7790561278e60a0d5aba58238cee (patch) | |
tree | 8e74d6289a7b1bf205586518854f00004015dfb5 | |
download | aur-ip-info-git.tar.gz |
add pkgbuild for version 1.0
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..da55431e488e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = ip-info-git + pkgdesc = Get information about a ip address or domain + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/siruidops/ip-info_c + arch = x86_64 + license = GPL + makedepends = git + depends = libcurl-gnutls + depends = gcc + depends = make + conflicts = ip-info-bin + source = ip-info-git::git+https://github.com/siruidops/ip-info_c + sha512sums = SKIP + +pkgname = ip-info-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8d39c784fca8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=ip-info-git +pkgver=1.0 +pkgrel=1 + +pkgdesc='Get information about a ip address or domain' +url='https://github.com/siruidops/ip-info_c' +arch=('x86_64') +license=('GPL') +depends=('libcurl-gnutls' 'gcc' 'make') +makedepends=('git') +conflicts=('ip-info-bin') + +source=(${pkgname}::git+https://github.com/siruidops/ip-info_c) +sha512sums=('SKIP') + +build() { + cd ${pkgname} + make +} + +package() { + install -D -t "$pkgdir/usr/bin" "$pkgname/ip-info" +} |