summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD48
2 files changed, 27 insertions, 27 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 89984235db0..dae76de1403 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gitlab-pages
pkgdesc = GitLab Pages daemon used to serve static websites for GitLab users
- pkgver = 1.40.0
+ pkgver = 1.41.0
pkgrel = 1
url = https://gitlab.com/gitlab-org/gitlab-pages
arch = x86_64
@@ -9,10 +9,10 @@ pkgbase = gitlab-pages
makedepends = go
backup = etc/gitlab-pages/config.cfg
backup = etc/gitlab-pages/service.env
- source = https://gitlab.com/gitlab-org/gitlab-pages/-/archive/v1.40.0/gitlab-pages-v1.40.0.tar.bz2
+ source = https://gitlab.com/gitlab-org/gitlab-pages/-/archive/v1.41.0/gitlab-pages-v1.41.0.tar.bz2
source = gitlab-pages.service
source = service.env
- sha256sums = 2dd4aff570ac16a20de490669399431e37a5586b201ddba3230a7003083a285e
+ sha256sums = 77d68532ed024d42ddcdb7ce74156b347927cb7dbcd47d3cda3459313a44a681
sha256sums = df2bb3607f500daf95ac7c3ddf2470c794a72c66ba0770029753f859f1c53082
sha256sums = fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96
diff --git a/PKGBUILD b/PKGBUILD
index 7d96b882205..8042ea01c4d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,42 +3,42 @@
# Useful: https://gitlab.com/gitlab-org/gitlab/issues/17584
pkgname=gitlab-pages
-pkgver=1.40.0
+pkgver=1.41.0
pkgrel=1
pkgdesc='GitLab Pages daemon used to serve static websites for GitLab users'
url="https://gitlab.com/gitlab-org/$pkgname"
-license=('MIT')
-arch=('x86_64' 'i686')
-makedepends=('go')
+license=(MIT)
+arch=(x86_64 i686)
+makedepends=(go)
source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2"
"$pkgname.service"
'service.env')
backup=("etc/$pkgname/config.cfg"
- "etc/$pkgname/service.env")
-sha256sums=('2dd4aff570ac16a20de490669399431e37a5586b201ddba3230a7003083a285e'
+ "etc/$pkgname/service.env")
+sha256sums=('77d68532ed024d42ddcdb7ce74156b347927cb7dbcd47d3cda3459313a44a681'
'df2bb3607f500daf95ac7c3ddf2470c794a72c66ba0770029753f859f1c53082'
'fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96')
build() {
- cd "$pkgname-v$pkgver"
- export GOPATH="$srcdir"
- export CGO_ENABLED=0
- go build \
- -trimpath \
- -buildmode=exe \
- -mod=readonly \
- -modcacherw \
- -ldflags "-extldflags \"$LDFLAGS\" -X main.VERSION=$pkgver" \
- .
- ./$pkgname -help 2>&1 |
- sed -ne '/=/{s/^ -//;s/\([^:]*\): \(.*\)/# \2\n#\1\n/;/config=/d;s/=""/=string/;p}' |
- sed -e '/daemon-.id=/{s/^#//;s/=0/=105/}' \
- > config.cfg
+ cd "$pkgname-v$pkgver"
+ export GOPATH="$srcdir"
+ export CGO_ENABLED=0
+ go build \
+ -trimpath \
+ -buildmode=exe \
+ -mod=readonly \
+ -modcacherw \
+ -ldflags "-extldflags \"$LDFLAGS\" -X main.VERSION=$pkgver" \
+ .
+ ./$pkgname -help 2>&1 |
+ sed -ne '/=/{s/^ -//;s/\([^:]*\): \(.*\)/# \2\n#\1\n/;/config=/d;s/=""/=string/;p}' |
+ sed -e '/daemon-.id=/{s/^#//;s/=0/=105/}' \
+ > config.cfg
}
package() {
- cd "$pkgname-v$pkgver"
- install -Dm755 -t "$pkgdir/usr/bin/" "$pkgname"
- install -Dm644 -t "$pkgdir/etc/$pkgname/" config.cfg "$srcdir/service.env"
- install -Dm644 -t "$pkgdir/usr/lib/systemd/system/" "$srcdir/$pkgname.service"
+ cd "$pkgname-v$pkgver"
+ install -Dm755 -t "$pkgdir/usr/bin/" "$pkgname"
+ install -Dm644 -t "$pkgdir/etc/$pkgname/" config.cfg ../service.env
+ install -Dm644 -t "$pkgdir/usr/lib/systemd/system/" "../$pkgname.service"
}