summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrodi2021-06-20 15:36:56 +0200
committerBrodi2021-06-20 15:36:56 +0200
commit3bb28cdc3732dfdacf60076ce213ea348a6c0cd5 (patch)
treea5bffb0a6e568c2e9000784206de904507adcd7f
downloadaur-3bb28cdc3732dfdacf60076ce213ea348a6c0cd5.tar.gz
Initial Commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD31
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..963b2c1093c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = activity-relay
+ pkgdesc = Yet another powerful customizable ActivityPub relay server written in Go.
+ pkgver = 0.2.9
+ pkgrel = 1
+ url = https://github.com/yukimochi/Activity-Relay
+ arch = any
+ license = AGPL3
+ depends = go
+ provides = activity-relay
+ conflicts = activity-relay-git
+ source = activity-relay-0.2.9.tar.gz::https://github.com/yukimochi/Activity-Relay/archive/refs/tags/v0.2.9.tar.gz
+ source = https://raw.githubusercontent.com/yukimochi/Activity-Relay/master/LICENCE
+ sha512sums = 9cbdb3c9bbee3dc65b4e85c62f6ee850a541c610558b5a65e565b75d9c90cf7200b00833aca6dff7cad16c9a3b65c8fd50afdaa77f91a0df5ccbfdab59388087
+ sha512sums = 6e90d46be391aa645bcf4dfaa67f452cb15a73749f1895633789c7763b43cc0b65d391e5e95652c9a9a2063c956e0e8099a4e1ce4b70b0636629f9eac39c1080
+
+pkgname = activity-relay
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1ec0a039fb6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Brodi <me@brodi.space>
+_pkgname=activity-relay
+pkgname=${_pkgname}
+pkgver=0.2.9
+pkgrel=1
+pkgdesc="Yet another powerful customizable ActivityPub relay server written in Go."
+url="https://github.com/yukimochi/Activity-Relay"
+arch=('any')
+license=(AGPL3)
+depends=(go)
+provides=("${_pkgname}")
+conflicts=("${_pkgname}-git")
+
+source=("${pkgname}-${pkgver}.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz"
+ "https://raw.githubusercontent.com/yukimochi/Activity-Relay/master/LICENCE")
+sha512sums=('9cbdb3c9bbee3dc65b4e85c62f6ee850a541c610558b5a65e565b75d9c90cf7200b00833aca6dff7cad16c9a3b65c8fd50afdaa77f91a0df5ccbfdab59388087'
+'6e90d46be391aa645bcf4dfaa67f452cb15a73749f1895633789c7763b43cc0b65d391e5e95652c9a9a2063c956e0e8099a4e1ce4b70b0636629f9eac39c1080')
+
+build() {
+ cd "Activity-Relay-${pkgver}"
+ go build
+}
+
+package() {
+ install -d "${pkgdir}/usr/share/doc/${_pkgname}/examples/"
+ install -Dm644 LICENCE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENCE"
+
+ cd "Activity-Relay-${pkgver}"
+ install -Dm755 Activity-Relay "${pkgdir}/usr/bin/activity-relay"
+ install -Dm755 config.yaml.example "${pkgdir}/usr/share/doc/${_pkgname}/examples/config.yaml.example"
+}