Subject: [PATCH] testing/chathistorysync: new aport

From: Drew DeVault <[email-masked]>
Date: Tue, 8 Feb 2022 15:02:40 +0100

---
 testing/chathistorysync/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/chathistorysync/APKBUILD

diff --git a/testing/chathistorysync/APKBUILD b/testing/chathistorysync/APKBUILD
new file mode 100644
index 0000000000..f5d152415b
--- /dev/null
+++ b/testing/chathistorysync/APKBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Drew DeVault <[email-masked]>
+pkgname=chathistorysync
+pkgver=0.1.0
+pkgrel=0
+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"
+
+build() {
+	make
+}
+
+check() {
+	go test ./...
+}
+
+package() {
+	make install PREFIX=/usr DESTDIR="$pkgdir"
+}
+
+sha512sums="
+94a98b5f3334cb32ea4efe53c7bb5d06b9406e16c0b27bc6437b65a32f4c490509cccb50dfad6bd38e8beccb0e8fc08ddc31f45897ac18f0d7e299924bc22dbe  chathistorysync-0.1.0.tar.gz
+"
-- 
2.35.1