summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorxiayesuifeng2022-08-05 21:20:35 +0800
committerxiayesuifeng2022-08-05 21:20:35 +0800
commit27ecf3e4b246f2aa74c4c11a4e2a5c3d6f18ba46 (patch)
treeec1503f8a2177cfbb357557a7bff47c0152e0fe8
parenta402078b9fc8393159e99b0d31eaa3f887f25d2f (diff)
downloadaur-27ecf3e4b246f2aa74c4c11a4e2a5c3d6f18ba46.tar.gz
update version to 0.2.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
2 files changed, 11 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index aa14a18f607..61432d0fce2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gopanel
pkgdesc = A control panel that is written in Golang and is able to manage Caddy 2
- pkgver = 0.1.0
+ pkgver = 0.2.0
pkgrel = 1
url = https://gitlab.com/xiayesuifeng/gopanel
arch = x86_64
@@ -9,9 +9,9 @@ pkgbase = gopanel
makedepends = npm
depends = caddy
backup = etc/gopanel/config.json
- source = https://gitlab.com/xiayesuifeng/gopanel/-/archive/0.1.0/gopanel-0.1.0.tar.gz
- source = gopanel-web.tar.gz::https://gitlab.com/xiayesuifeng/gopanel-web/-/archive/master/gopanel-web-master.tar.gz
- sha256sums = 9a1cdaf4987885fc8b4550f11705ecb212277ee53e9087c3cbaf15f17ff556d1
- sha256sums = 5363812d2579146f0704c4c8626aeeed11741d9e9d87df3b071d4eae2eb5c412
+ source = https://gitlab.com/xiayesuifeng/gopanel/-/archive/0.2.0/gopanel-0.2.0.tar.gz
+ source = https://gitlab.com/xiayesuifeng/gopanel-web/-/archive/0.2.0/gopanel-web-0.2.0.tar.gz
+ sha256sums = b34d6e887176d9d2bd2f519ee2e40b12fb96b8ecc65da818f88663e4c3b7a599
+ sha256sums = 3a70c96c96d8e5e31cc994bf00fd50585934ee2513b930cadcd9f71796a5f118
pkgname = gopanel
diff --git a/PKGBUILD b/PKGBUILD
index 299fe8b226a..3cf00c5adde 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: XiaYeSuiFeng <xiayesuifeng@firerain.me>
pkgname=gopanel
-pkgver=0.1.0
+pkgver=0.2.0
pkgrel=1
pkgdesc='A control panel that is written in Golang and is able to manage Caddy 2'
arch=('x86_64')
@@ -10,12 +10,12 @@ backup=('etc/gopanel/config.json')
depends=('caddy')
makedepends=('go' 'npm')
source=("https://gitlab.com/xiayesuifeng/${pkgname}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
- "gopanel-web.tar.gz::https://gitlab.com/xiayesuifeng/${pkgname}-web/-/archive/master/gopanel-web-master.tar.gz")
-sha256sums=('9a1cdaf4987885fc8b4550f11705ecb212277ee53e9087c3cbaf15f17ff556d1'
- '5363812d2579146f0704c4c8626aeeed11741d9e9d87df3b071d4eae2eb5c412')
+ "https://gitlab.com/xiayesuifeng/${pkgname}-web/-/archive/${pkgver}/${pkgname}-web-${pkgver}.tar.gz")
+sha256sums=('b34d6e887176d9d2bd2f519ee2e40b12fb96b8ecc65da818f88663e4c3b7a599'
+ '3a70c96c96d8e5e31cc994bf00fd50585934ee2513b930cadcd9f71796a5f118')
build() {
- cd ${srcdir}/gopanel-web-master
+ cd ${srcdir}/gopanel-web-${pkgver}
npm install
npm run build
@@ -33,6 +33,6 @@ package() {
install -D -m 0644 systemd/gopanel.service "$pkgdir/usr/lib/systemd/system/gopanel.service"
install -D -m 0644 config.default.json "$pkgdir/etc/gopanel/config.json"
sed -i 's|http://localhost:2019|unix//run/caddy/admin.socket|g' "$pkgdir/etc/gopanel/config.json"
- cp -rf ${srcdir}/gopanel-web-master/build "${pkgdir}/usr/share/gopanel/web"
+ cp -rf ${srcdir}/gopanel-web-${pkgver}/build "${pkgdir}/usr/share/gopanel/web"
chmod -R 0644 "${pkgdir}/usr/share/gopanel/web"
}