# Maintainer: botplus pkgname=gophernicus pkgver=3.1.1 pkgrel=1 pkgdesc="Gophernicus is a modern, full-featured (and hopefully) secure gopher daemon" arch=('x86_64') url="https://github.com/gophernicus/gophernicus" license=('BSD 2-Clause') depends=('libwrap') makedepends=('make') provides=('gophernicus') source=("$pkgname-$pkgver.tar.gz::https://github.com/gophernicus/gophernicus/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") sha512sums=('3127c8e35942939666fcd22b6e74087180f0ccfb5319bab1f6cea975d54f6050896594f1203cdcb199ddc1b4bad0a2574c038c38a5c75a66443005c23b6d8d89') build() { cd "$pkgname-$pkgver" ./configure --listener=systemd --systemd=/usr/lib/systemd/system --mandir=PREFIX/man make } package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install }