summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fda57cf2cdb..c63d62efd5d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Melvin Vermeeren <mail@mel.vin>
# Useful: https://gitlab.com/gitlab-org/gitlab-ce/issues/29963
pkgname=gitlab-pages
-pkgver=0.7.1
+pkgver=0.9.0
pkgrel=1
pkgdesc='GitLab Pages daemon used to serve static websites for GitLab users'
url='https://gitlab.com/gitlab-org/gitlab-pages'
@@ -9,20 +9,18 @@ license=('MIT')
arch=('i686' 'x86_64')
depends=()
makedepends=('go')
-source=("https://gitlab.com/gitlab-org/gitlab-pages/repository/v$pkgver/archive.tar.gz"
+source=("$pkgname-v$pkgver.tar.gz::https://gitlab.com/gitlab-org/gitlab-pages/repository/v$pkgver/archive.tar.gz"
'config.cfg'
- 'gitlab-pages.service')
+ 'gitlab-pages.service'
+ 'service.env')
backup=('etc/gitlab-pages/config.cfg')
-sha256sums=('c9ab39dcadc4b82fd86957afb3d9fc12e795d18a2f10c8391b51553932f48773'
- '9c69b96b33e194cccbcb0e0412f422be8f9fea45c95a9df5353cb752463e99d6'
- '56568f9959efef8a1f40587dcd21942a9938aaa97e7bd0b5a628905147c7b4ed')
+sha256sums=('90e3c873382e42caccce0f4ab1b1a3bfef510849500eab28409f72661a557e16'
+ '558e9f5ec85fbf4ef7380016e64bcf00f09498596044f76a8eb87b6ef4154ce4'
+ 'ae62235f0fd66eaed7ad74048daf21b92058aba90e40fc2d3e7a684e9883c32e'
+ 'fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96')
build() {
cd "$srcdir/$pkgname-v$pkgver-"*
- # static build does not work with Arch's Go, you get:
- # go install net: open /usr/lib/go/pkg/linux_amd64/net.a: permission denied
- # this means the chroot function will not work
- sed -i 's/\(export CGO_ENABLED := \)0/\11/' Makefile
make
}
@@ -31,4 +29,5 @@ package() {
install -Dm 755 gitlab-pages "$pkgdir/usr/bin/gitlab-pages"
install -Dm 644 "$srcdir/config.cfg" "$pkgdir/etc/gitlab-pages/config.cfg"
install -Dm 644 "$srcdir/gitlab-pages.service" "$pkgdir/usr/lib/systemd/system/gitlab-pages.service"
+ install -Dm 644 "$srcdir/service.env" "$pkgdir/etc/gitlab-pages/service.env"
}