diff options
author | hashworks | 2020-06-06 19:11:35 +0200 |
---|---|---|
committer | hashworks | 2020-06-06 19:11:35 +0200 |
commit | 242a607e34dda538a3fc61ff5070a5d4a1e6ccb8 (patch) | |
tree | a872c9dbbf388b67ce7c8f10f4984049b7c95035 | |
parent | 239c46dde147ccf59b25c46f7b212c87d0cabe6a (diff) | |
download | aur-242a607e34dda538a3fc61ff5070a5d4a1e6ccb8.tar.gz |
PKGBUILD improvements
- missing "git" makedep
- avoid putting the $pkgname inside pkgdesc
- missing "geoip" makedep + dep -> switched from legacy to mmdb
- this builds an ELF file, so it's definetely NOT an 'any' package
- File in backup array (etc/goaccess.conf) not found in package
-rwxr-xr-x | .SRCINFO | 15 | ||||
-rwxr-xr-x | PKGBUILD | 15 |
2 files changed, 17 insertions, 13 deletions
@@ -1,19 +1,22 @@ pkgbase = goaccess-git - pkgdesc = GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser. - pkgver = v0.8.r2629.ge0385cc + pkgdesc = A real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser. + pkgver = v1.4.r7.ge462ba08 pkgrel = 1 url = https://goaccess.io - arch = any + arch = x86_64 license = MIT + makedepends = git depends = ncurses depends = libmaxminddb depends = openssl - optdepends = geoip: Provides a mmdb geoip database + optdepends = geoip2-database: for geoip support provides = goaccess conflicts = goaccess - backup = etc/goaccess.conf + backup = etc/goaccess/goaccess.conf + backup = etc/goaccess/browsers.list + backup = etc/goaccess/podcast.list source = git+https://github.com/allinurl/goaccess.git - md5sums = SKIP + sha256sums = SKIP pkgname = goaccess-git @@ -2,18 +2,19 @@ pkgname=goaccess-git pkgrel=1 -pkgver=v0.8.r2629.ge0385cc -pkgdesc='GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.' +pkgver=v1.4.r7.ge462ba08 +pkgdesc='A real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.' url='https://goaccess.io' license=('MIT') -arch=('any') +arch=('x86_64') conflicts=('goaccess') provides=('goaccess') depends=('ncurses' 'libmaxminddb' 'openssl') -optdepends=('geoip: Provides a mmdb geoip database') -backup=('etc/goaccess.conf') +optdepends=('geoip2-database: for geoip support') +makedepends=('git') +backup=('etc/goaccess/goaccess.conf' 'etc/goaccess/browsers.list' 'etc/goaccess/podcast.list') source=('git+https://github.com/allinurl/goaccess.git') -md5sums=('SKIP') +sha256sums=('SKIP') pkgver() { cd "goaccess" @@ -23,7 +24,7 @@ pkgver() { build() { cd "goaccess" autoreconf -fiv - ./configure --prefix=/usr --enable-utf8 --enable-geoip=legacy --sysconfdir=/etc --with-openssl + ./configure --enable-geoip=mmdb --enable-utf8 --with-openssl --prefix=/usr --sysconfdir=/etc make } |