summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD33
2 files changed, 22 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d35a86260c9..ef9bcb49a2d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
pkgbase = gitlab-pages
pkgdesc = GitLab Pages daemon used to serve static websites for GitLab users
- pkgver = 1.7.0
- pkgrel = 2
+ pkgver = 1.15.0
+ pkgrel = 1
url = https://gitlab.com/gitlab-org/gitlab-pages
arch = i686
arch = x86_64
license = MIT
makedepends = go
- backup = etc/gitlab-pages/config.cfg
- source = gitlab-pages-v1.7.0.tar.gz::https://gitlab.com/gitlab-org/gitlab-pages/repository/v1.7.0/archive.tar.gz
+ backup = etc/$pkgname/config.cfg
+ source = gitlab-pages-v1.15.0.tar.gz::https://gitlab.com/gitlab-org/gitlab-pages/repository/v1.15.0/archive.tar.gz
source = config.cfg
source = gitlab-pages.service
source = service.env
- sha256sums = eda36763002b3fe54633c59d384f9840de38c6fc9008eb04cab25ae088d1d8f7
+ sha256sums = bc6f93de33f520c09d8159d7b16214c18dae6a463027924f3834c2d44a6ca575
sha256sums = 5e2135793d43ec2f3343b49cf45b00f44ef74e813c7d152d2e0ed46af5c25122
sha256sums = ae62235f0fd66eaed7ad74048daf21b92058aba90e40fc2d3e7a684e9883c32e
sha256sums = fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96
diff --git a/PKGBUILD b/PKGBUILD
index 69599d3f006..871fed190ef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,39 +1,40 @@
# Maintainer: Melvin Vermeeren <mail@mel.vin>
-# Contributor: Caleb Maclennan <caleb@alerque.com>
-# Useful: https://gitlab.com/gitlab-org/gitlab-ce/issues/29963
+# Maintainer: Caleb Maclennan <caleb@alerque.com>
+# Useful: https://gitlab.com/gitlab-org/gitlab/issues/17584
+
pkgname=gitlab-pages
-pkgver=1.7.0
-pkgrel=2
+pkgver=1.15.0
+pkgrel=1
pkgdesc='GitLab Pages daemon used to serve static websites for GitLab users'
-url='https://gitlab.com/gitlab-org/gitlab-pages'
+url="https://gitlab.com/gitlab-org/$pkgname"
license=('MIT')
arch=('i686' 'x86_64')
depends=()
makedepends=('go')
-source=("$pkgname-v$pkgver.tar.gz::https://gitlab.com/gitlab-org/gitlab-pages/repository/v$pkgver/archive.tar.gz"
+source=("$pkgname-v$pkgver.tar.gz::https://gitlab.com/gitlab-org/$pkgname/repository/v$pkgver/archive.tar.gz"
'config.cfg'
- 'gitlab-pages.service'
+ "$pkgname.service"
'service.env')
-backup=('etc/gitlab-pages/config.cfg')
-sha256sums=('eda36763002b3fe54633c59d384f9840de38c6fc9008eb04cab25ae088d1d8f7'
+backup=('etc/$pkgname/config.cfg')
+sha256sums=('bc6f93de33f520c09d8159d7b16214c18dae6a463027924f3834c2d44a6ca575'
'5e2135793d43ec2f3343b49cf45b00f44ef74e813c7d152d2e0ed46af5c25122'
'ae62235f0fd66eaed7ad74048daf21b92058aba90e40fc2d3e7a684e9883c32e'
'fd8f9b60e2247077ad00765904237b6b1c36b11a952cd3b1ad88e74417b82a96')
prepare( ){
- cd "$srcdir/$pkgname-v$pkgver-"*
+ cd "$pkgname-v$pkgver-"*
[[ ${pkgver} == "1.7.0" ]] && sed -i -e '12s/FLAGS) \$(IM/FLAGS) --buildmode exe $(IM/' Makefile.build.mk ||:
}
build() {
- cd "$srcdir/$pkgname-v$pkgver-"*
+ cd "$pkgname-v$pkgver-"*
make
}
package() {
- cd "$srcdir/$pkgname-v$pkgver-"*
- 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"
+ cd "$pkgname-v$pkgver-"*
+ install -Dm 755 $pkgname -t "$pkgdir/usr/bin"
+ install -Dm 644 "$srcdir/config.cfg" -t "$pkgdir/etc/$pkgname"
+ install -Dm 644 "$srcdir/$pkgname.service" -t "$pkgdir/usr/lib/systemd/system"
+ install -Dm 644 "$srcdir/service.env" -t "$pkgdir/etc/$pkgname"
}