summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD11
2 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1fa1f72c81f..fe133f7aae9 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.42.0
+ pkgver = 1.43.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.42.0/gitlab-pages-v1.42.0.tar.bz2
+ source = https://gitlab.com/gitlab-org/gitlab-pages/-/archive/v1.43.0/gitlab-pages-v1.43.0.tar.bz2
source = gitlab-pages.service
source = service.env
- sha256sums = c397e65f9feb3c54ccf25e6c821f435841099bc028818c9d96a49bdea7ebf63c
+ sha256sums = e3982cceb994053078373c3fd43d18d04fbc4f014ac8260c461747041a2f2689
sha256sums = df2bb3607f500daf95ac7c3ddf2470c794a72c66ba0770029753f859f1c53082
sha256sums = fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96
diff --git a/PKGBUILD b/PKGBUILD
index 10e17baf693..74693243014 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,24 +3,25 @@
# Useful: https://gitlab.com/gitlab-org/gitlab/issues/17584
pkgname=gitlab-pages
-pkgver=1.42.0
+pkgver=1.43.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)
-source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.bz2"
+_archive="$pkgname-v$pkgver"
+source=("$url/-/archive/v$pkgver/$_archive.tar.bz2"
"$pkgname.service"
'service.env')
backup=("etc/$pkgname/config.cfg"
"etc/$pkgname/service.env")
-sha256sums=('c397e65f9feb3c54ccf25e6c821f435841099bc028818c9d96a49bdea7ebf63c'
+sha256sums=('e3982cceb994053078373c3fd43d18d04fbc4f014ac8260c461747041a2f2689'
'df2bb3607f500daf95ac7c3ddf2470c794a72c66ba0770029753f859f1c53082'
'fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96')
build() {
- cd "$pkgname-v$pkgver"
+ cd "$_archive"
export GOPATH="$srcdir"
export CGO_ENABLED=0
go build \
@@ -37,7 +38,7 @@ build() {
}
package() {
- cd "$pkgname-v$pkgver"
+ cd "$_archive"
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"