Skip to content

Instantly share code, notes, and snippets.

@duckbrain
Created February 17, 2017 14:43
Show Gist options
  • Save duckbrain/8e6693e67899d46c6ddc600adb5eac52 to your computer and use it in GitHub Desktop.
Save duckbrain/8e6693e67899d46c6ddc600adb5eac52 to your computer and use it in GitHub Desktop.
Patch to update the gogs AUR to 0.9.141
diff --git a/.SRCINFO b/.SRCINFO
index d87854e..7bdd84d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Wed Dec 28 07:40:24 UTC 2016
pkgbase = gogs
pkgdesc = Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language.
- pkgver = 0.9.113
+ pkgver = 0.9.141
pkgrel = 1
epoch = 1
url = http://gogs.io/
@@ -15,7 +13,6 @@ pkgbase = gogs
makedepends = go>=1.3
makedepends = git>=1.7.1
makedepends = patch
- makedepends = glide>=0.10
depends = git>=1.7.1
optdepends = sqlite: SQLite support
optdepends = mariadb: MariaDB support
@@ -32,10 +29,10 @@ pkgbase = gogs
backup = srv/gogs/conf/app.ini
source = gogs.service.patch
source = app.ini.patch
- source = gogs-0.9.113::https://github.com/gogits/gogs/archive/v0.9.113.tar.gz
+ source = gogs-0.9.141::https://github.com/gogits/gogs/archive/v0.9.141.tar.gz
sha512sums = 834e95fe9bcfa291a573ad1fa43f41bbed844658a918ff4fcf53ab8a44a296206ee4003eab1d9a2785c9126be077022f4907846d2eb6c5d64050b5e81ce47f44
sha512sums = dd88280d0ae028085d5834e7579477257331287f6892ec9489a6ba07f1c1f9f993a2b23513ea128ddf523b69ead2be9c309833ad22901a6a6ec6180720ee81bd
- sha512sums = 45527934b2a7b12730cbcbe4f6c92e49d3a59369cb6380ead25809340d02ac9f38f4370c0a9d1e3a84dd59dc0ab77c6b6e2c2217d95ffcb69f9a035ccf042549
+ sha512sums = c9684bc80ac34654e723545765e9587895b6345f2885029d14503d6937ef5d2fb83a659a0473bfb3e6b643815170c7cd07bc69ba0244584ca60cd3876c9c1bad
pkgname = gogs
diff --git a/PKGBUILD b/PKGBUILD
index 307970d..2920cd5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=gogs
_pkgname=${pkgname}
-pkgver=0.9.113
+pkgver=0.9.141
pkgrel=1
epoch=1
pkgdesc="Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language."
@@ -18,7 +18,7 @@ optdepends=('sqlite: SQLite support'
'redis: Redis support'
'memcached: MemCached support'
'openssh: GIT over SSH support')
-makedepends=('go>=1.3' 'git>=1.7.1' 'patch' 'glide>=0.10')
+makedepends=('go>=1.3' 'git>=1.7.1' 'patch')
conflicts=('gogs-bin' 'gogs-git' 'gogs-git-dev')
options=('!strip' '!emptydirs')
backup=('srv/gogs/conf/app.ini')
@@ -30,9 +30,9 @@ source=('gogs.service.patch'
'app.ini.patch'
"$_pkgname-$pkgver::https://${_gourl}/archive/v${pkgver}.tar.gz")
-sha512sums=(834e95fe9bcfa291a573ad1fa43f41bbed844658a918ff4fcf53ab8a44a296206ee4003eab1d9a2785c9126be077022f4907846d2eb6c5d64050b5e81ce47f44
- dd88280d0ae028085d5834e7579477257331287f6892ec9489a6ba07f1c1f9f993a2b23513ea128ddf523b69ead2be9c309833ad22901a6a6ec6180720ee81bd
- 45527934b2a7b12730cbcbe4f6c92e49d3a59369cb6380ead25809340d02ac9f38f4370c0a9d1e3a84dd59dc0ab77c6b6e2c2217d95ffcb69f9a035ccf042549)
+sha512sums=('834e95fe9bcfa291a573ad1fa43f41bbed844658a918ff4fcf53ab8a44a296206ee4003eab1d9a2785c9126be077022f4907846d2eb6c5d64050b5e81ce47f44'
+ 'dd88280d0ae028085d5834e7579477257331287f6892ec9489a6ba07f1c1f9f993a2b23513ea128ddf523b69ead2be9c309833ad22901a6a6ec6180720ee81bd'
+ 'c9684bc80ac34654e723545765e9587895b6345f2885029d14503d6937ef5d2fb83a659a0473bfb3e6b643815170c7cd07bc69ba0244584ca60cd3876c9c1bad')
_goroot="/usr/lib/go"
@@ -66,9 +66,6 @@ prepare() {
# Glide
msg2 "Download dependencies via Glide"
cd $GOPATH/src/${_gourl}
- glide cc
- glide update
- glide install
# Execute patch
msg2 "Execute patches"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment