Commit c84ce58d authored by Jeff Huang's avatar Jeff Huang 🤔

[skip-ci] libmaxminddb: import as wireshark new deps

parent d5055268
Pipeline #3157 skipped
# Contributions from Arch:
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: frank AT apsu DOT be
pkgbase=libmaxminddb
pkgname=(libmaxminddb mmdblookup)
pkgver=1.3.2
pkgrel=1
pkgdesc="MaxMind GeoIP2 database - split package with library and utilities"
license=('Apache')
arch=('x86_64')
url="https://dev.maxmind.com/geoip/geoip2/downloadable/"
source=("https://github.com/maxmind/$pkgbase/releases/download/$pkgver/$pkgbase-$pkgver.tar.gz")
sha256sums=('e6f881aa6bd8cfa154a44d965450620df1f714c6dc9dd9971ad98f6e04f6c0f0')
build() {
cd "$srcdir"/$pkgbase-$pkgver
./configure --prefix=/usr
make
}
package_libmaxminddb() {
pkgdesc="MaxMindDB GeoIP2 database library"
depends=('glibc')
cd "$srcdir"/$pkgbase-$pkgver
make PREFIX=/usr DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/{bin,share/man/man1}
}
package_mmdblookup() {
pkgdesc="MaxMindDB GeoIP2 lookup utility"
depends=('libmaxminddb')
cd "$srcdir"/$pkgbase-$pkgver
make PREFIX=/usr DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/{lib,include,share/man/man3}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment