testing/sacc: modernize and cleanup

This commit is contained in:
Milan P. Stanić 2020-05-03 12:04:12 +02:00
parent c9f55282f3
commit 3e2a7dfd95

View File

@ -2,7 +2,7 @@
# Maintainer: Sascha Paunovic <azarus@posteo.net>
pkgname=sacc
pkgver=1.01
pkgrel=0
pkgrel=1
pkgdesc="saccomys, simple console gopher client"
url="gopher://bitreich.org/1/scm/sacc"
arch="all"
@ -10,16 +10,13 @@ license="ISC"
options="!check" # sacc does not have checks
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="ftp://bitreich.org/releases/$pkgname/$pkgname-$pkgver.tgz"
builddir="$srcdir/$pkgname-$pkgver"
source="ftp://bitreich.org/releases/sacc/sacc-$pkgver.tgz"
build() {
cd "$builddir"
make
}
package() {
cd "$builddir"
make install PREFIX=/usr DESTDIR="$pkgdir"
}