mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-07 14:52:31 +02:00
35 lines
870 B
Plaintext
35 lines
870 B
Plaintext
# Maintainer: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
|
|
pkgname=chathistorysync
|
|
pkgver=0.2.0
|
|
pkgrel=12
|
|
pkgdesc="A tool for syncing IRC logs via the CHATHISTORY extension"
|
|
url="https://sr.ht/~emersion/chathistorysync"
|
|
arch="all"
|
|
license="AGPL-3.0-only"
|
|
makedepends="go scdoc"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://git.sr.ht/~emersion/chathistorysync/archive/v$pkgver.tar.gz
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
builddir="$srcdir/$pkgname-v$pkgver"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
make install PREFIX=/usr DESTDIR="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c81b961e2766c1688a0e0f1c69d768eba78b4b7e2b0e1d0c3f39e023c52cddf748f5500e29b994845220a57fe57781d3aaf41a0f3881da9be7b9ab46d05588be chathistorysync-0.2.0.tar.gz
|
|
"
|