aports/testing/cgo/APKBUILD
psykose 345e721a45 */*: replace $url in source= with the url
the two are distinct, url isn't a variable. it could be changed to
update to e.g. a documentation site, source url is separate
2023-05-17 06:11:24 +02:00

23 lines
717 B
Text

# Contributor: KikooDX <kikoodx@paranoici.org>
# Maintainer: KikooDX <kikoodx@paranoici.org>
pkgname=cgo
pkgver=0.6.1
pkgrel=1
pkgdesc="Simple terminal gopher client"
url="https://github.com/kieselsteini/cgo"
arch="all"
license="0BSD"
subpackages="$pkgname-doc"
options="!check" # there is no test suite
source="$pkgname-$pkgver.tar.gz::https://github.com/kieselsteini/cgo/archive/refs/tags/v$pkgver.tar.gz"
build() {
make
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
sha512sums="bbf0d6f366d34e62411424620a1f31b70a13243104d6bb5c2e7197f5dc34bc517fb2430fb06772e9c7175c83372e2c71729dd3e775afbb89745e27817b840708 cgo-0.6.1.tar.gz"