summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8d39c784fca8c9c33f1f1e22888107f05cc3d2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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"
}