summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsurefire2017-02-22 12:29:53 +0300
committersurefire2017-02-22 12:29:53 +0300
commit9116515d77922b8341e007bf5149857f2b1160a5 (patch)
tree002f7a83130fb4043de227f059df04e429c7461e
parenta45e3408cba4e59e496037d10c14fda30cea9d13 (diff)
downloadaur-9116515d77922b8341e007bf5149857f2b1160a5.tar.gz
upgpkg: gogs 0.9.165.0221 / 0.10 RC
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43ba6600a819..db2c535dd897 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = gogs-git
pkgdesc = Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language.
- pkgver = 0.9.145.0213+7+1381f0f2
+ pkgver = 0.9.165.0221+0.10RC+1+d21dc0da
pkgrel = 1
epoch = 2
url = http://gogs.io/
@@ -22,6 +22,7 @@ pkgbase = gogs-git
optdepends = openssh: GIT over SSH support
provides = gogs
conflicts = gogs
+ replaces = gogs-master-git
options = !buildflags
source = git+https://github.com/gogits/gogs.git#branch=master
source = git+https://github.com/jteeuwen/go-bindata.git
diff --git a/PKGBUILD b/PKGBUILD
index 16e023a64444..8e3ced720814 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: surefire@cryptomile.net
pkgname=gogs-git
epoch=2
-pkgver=0.9.145.0213+7+1381f0f2
+pkgver=0.9.165.0221+0.10RC+1+d21dc0da
pkgrel=1
pkgdesc="Gogs(Go Git Service) is a Self Hosted Git Service in the Go Programming Language."
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
@@ -10,6 +10,7 @@ license=('MIT')
depends=('git' 'sqlite')
conflicts=('gogs')
provides=('gogs')
+replaces=('gogs-master-git')
options=('!buildflags')
optdepends=('mariadb: MariaDB support'
'postgresql: PostgreSQL support'
@@ -55,7 +56,7 @@ prepare() {
pkgver() {
cd "$_gogsdir"
printf '%s+%s+%s' \
- $(<templates/.VERSION) \
+ $(sed -e 's,/,+,g; s, ,,g' templates/.VERSION) \
$(git rev-list --count HEAD...$(git log --pretty=format:%H -n 1 -- templates/.VERSION)) \
$(git rev-parse --short HEAD) \
;