summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGitHub Action2021-09-15 02:57:11 +0000
committerGitHub Action2021-09-15 02:57:11 +0000
commitaee8c0f7c4a5c6736e895b11c9270b2892f08933 (patch)
tree894a97808bbb9e49ff9df7fd15ce469ad3b52d5c
parentd53141f896a0cd8c7a3789bdc36a0c9023a43b19 (diff)
downloadaur-aee8c0f7c4a5c6736e895b11c9270b2892f08933.tar.gz
Update from GitHub Actions: auth-thu-bin: update to 2.2-2
https://github.com/ouuan/AUR-packages/actions/runs/1236062220
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD18
2 files changed, 24 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88ec581ac4dd..7cdad1576980 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,21 @@
pkgbase = auth-thu-bin
pkgdesc = A commandline Tunet (auth4/6.tsinghua.edu.cn, Tsinghua-IPv4) authentication tool
pkgver = 2.2
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/z4yx/GoAuthing
arch = x86_64
license = GPL3
provides = auth-thu
conflicts = auth-thu
source = auth-thu-bin-2.2::https://github.com/z4yx/GoAuthing/releases/download/v2.2/auth-thu.linux.x86_64
+ source = https://github.com/z4yx/GoAuthing/raw/v2.2/docs/goauthing.service
+ source = https://github.com/z4yx/GoAuthing/raw/v2.2/docs/goauthing6.service
+ source = https://github.com/z4yx/GoAuthing/raw/v2.2/docs/goauthing6@.service
+ source = https://github.com/z4yx/GoAuthing/raw/v2.2/docs/goauthing@.service
sha256sums = 24718658254c5c88da21b1e156c3b9d58a635690bc68ffef9b9e446bffc97a93
+ sha256sums = cfef26f4e2bf6aa336713372f7e015c477da0c1c976e6a609a0398ddbc710e16
+ sha256sums = c78e6168e14cb41f294f3b9632c38a48a1522e50c8d94ff7de8abe70e8b3e644
+ sha256sums = c97cfda5a20d7b1f52e0ca003567f2671aea9142ec4932cae74ffa89d0b0e093
+ sha256sums = 177bad4c4af6479b710510da57803ae536ad5079f73aae493071adefa49c3d8f
pkgname = auth-thu-bin
diff --git a/PKGBUILD b/PKGBUILD
index 593ba90f2128..6267e1826e5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,16 +2,28 @@
pkgname=auth-thu-bin
pkgver=2.2
-pkgrel=1
+pkgrel=2
provides=('auth-thu')
conflicts=('auth-thu')
pkgdesc='A commandline Tunet (auth4/6.tsinghua.edu.cn, Tsinghua-IPv4) authentication tool'
arch=('x86_64')
url='https://github.com/z4yx/GoAuthing'
license=('GPL3')
-source=("$pkgname-$pkgver::https://github.com/z4yx/GoAuthing/releases/download/v$pkgver/auth-thu.linux.x86_64")
-sha256sums=('24718658254c5c88da21b1e156c3b9d58a635690bc68ffef9b9e446bffc97a93')
+source=(
+ "$pkgname-$pkgver::https://github.com/z4yx/GoAuthing/releases/download/v$pkgver/auth-thu.linux.x86_64"
+ "https://github.com/z4yx/GoAuthing/raw/v$pkgver/docs/goauthing.service"
+ "https://github.com/z4yx/GoAuthing/raw/v$pkgver/docs/goauthing6.service"
+ "https://github.com/z4yx/GoAuthing/raw/v$pkgver/docs/goauthing6@.service"
+ "https://github.com/z4yx/GoAuthing/raw/v$pkgver/docs/goauthing@.service"
+)
+sha256sums=('24718658254c5c88da21b1e156c3b9d58a635690bc68ffef9b9e446bffc97a93'
+ 'cfef26f4e2bf6aa336713372f7e015c477da0c1c976e6a609a0398ddbc710e16'
+ 'c78e6168e14cb41f294f3b9632c38a48a1522e50c8d94ff7de8abe70e8b3e644'
+ 'c97cfda5a20d7b1f52e0ca003567f2671aea9142ec4932cae74ffa89d0b0e093'
+ '177bad4c4af6479b710510da57803ae536ad5079f73aae493071adefa49c3d8f')
package() {
install -Dm755 "$pkgname-$pkgver" "$pkgdir/usr/bin/auth-thu"
+ sed -i "s|/usr/local/bin/auth-thu|/usr/bin/auth-thu|g" goauthing*.service
+ install -Dm644 goauthing*.service -t "$pkgdir/usr/lib/systemd/user"
}