summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2017-03-09 21:18:42 +0100
committerfrederik2017-03-09 21:18:42 +0100
commit2fcb1a36e9470ddcda6478e4ae2c49164522e843 (patch)
tree6e067fd23042e55e50ba784201de33827323a74a
parent8dcf1e825cbb2ef978cde4b4db0712f38f135923 (diff)
downloadaur-2fcb1a36e9470ddcda6478e4ae2c49164522e843.tar.gz
improve compatibility with AUR helpers
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD12
2 files changed, 12 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 940dcc1a447a..1ff3bf590289 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by mksrcinfo v8
-# Thu Mar 9 20:16:33 UTC 2017
+# Thu Mar 9 20:18:12 UTC 2017
pkgbase = gitea
pkgdesc = Git with a cup of tea, forked from Gogs. Is a Self Hosted Git Service in the Go Programming Language.
pkgver = 1.1.0
@@ -26,15 +26,15 @@ pkgbase = gitea
source = app.ini
sha512sums = 692ea79b3195f3222f69b485f8a7905223fa457dc5cb2b480edbac6f480ac4f74075accb04ae0c17b90e98e41f53224e661a85762310d7263921e763cb3fc257
sha512sums = dfeaad31e2a1286d4399627587b827096e5f79411423caecde16f07684b03b18b57023c8e2c4da1045a706098ed887ab4b43d2de197d910f585f7779f1efe500
- source_x86_64 = gitea::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-amd64
+ source_x86_64 = gitea-1.1.0::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-amd64
sha512sums_x86_64 = 8e3638f678a9a78d02bbc9bb284de03c98ceb2fe2e4a6c2cfa0f2b1dc5cf19eb6d4618c34661f0df430b1c5a64534d3e7f03d933a709b53dd18993b0547fa7d4
- source_i686 = gitea::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-amd64
+ source_i686 = gitea-1.1.0::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-amd64
sha512sums_i686 = 8e3638f678a9a78d02bbc9bb284de03c98ceb2fe2e4a6c2cfa0f2b1dc5cf19eb6d4618c34661f0df430b1c5a64534d3e7f03d933a709b53dd18993b0547fa7d4
- source_arm = gitea::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-arm-5
+ source_arm = gitea-1.1.0::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-arm-5
sha512sums_arm = e2778aa50bd943cdabe50d282e9a43e9b4e8ec72b3fc742d6a4eaa32b075955d0cb950754d97ba73a5f8b6debfe8caa9ab9263c1463c8751f85379f57725cc7d
- source_armv6h = gitea::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-arm-6
+ source_armv6h = gitea-1.1.0::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-arm-6
sha512sums_armv6h = 8585944cf243e8a43559befe68fe2651ae08af7127c8f5e6928e69b2910a3b9942c510f82a5d25a88f279560a45e268dd29e432c630c48a5e501700484919349
- source_armv7h = gitea::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-arm-7
+ source_armv7h = gitea-1.1.0::https://github.com/go-gitea/gitea/releases/download/v1.1.0/gitea-1.1.0-linux-arm-7
sha512sums_armv7h = 361e3fe1876859045c34e3d0a2758c9301572b6073f8e42902d832e390ff5b802df129e95b06b46d440ffdcae5c07a8f03f5ed05b7face20edb8f9e8d560d788
pkgname = gitea
diff --git a/PKGBUILD b/PKGBUILD
index 912b6604740d..5b4d6a8bef8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -19,11 +19,11 @@ install=gitea.install
backup=('etc/gitea/app.ini')
source=(gitea.service
app.ini)
-source_x86_64=(${pkgname}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-amd64)
-source_i686=(${pkgname}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-amd64)
-source_arm=(${pkgname}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-arm-5)
-source_armv6h=(${pkgname}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-arm-6)
-source_armv7h=(${pkgname}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-arm-7)
+source_x86_64=(${pkgname}-${pkgver}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-amd64)
+source_i686=(${pkgname}-${pkgver}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-amd64)
+source_arm=(${pkgname}-${pkgver}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-arm-5)
+source_armv6h=(${pkgname}-${pkgver}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-arm-6)
+source_armv7h=(${pkgname}-${pkgver}::https://github.com/go-gitea/gitea/releases/download/v${pkgver}/gitea-${pkgver}-linux-arm-7)
sha512sums=('692ea79b3195f3222f69b485f8a7905223fa457dc5cb2b480edbac6f480ac4f74075accb04ae0c17b90e98e41f53224e661a85762310d7263921e763cb3fc257'
'dfeaad31e2a1286d4399627587b827096e5f79411423caecde16f07684b03b18b57023c8e2c4da1045a706098ed887ab4b43d2de197d910f585f7779f1efe500')
@@ -39,7 +39,7 @@ package() {
install -o git -g git -d -m 750 ${pkgdir}/var/log/gitea/
install -o root -g git -d -m 775 ${pkgdir}/etc/gitea/
- install -Dm755 ${srcdir}/${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -Dm755 ${srcdir}/${pkgname}-${pkgver} ${pkgdir}/usr/bin/${pkgname}
install -Dm644 ${srcdir}/gitea.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
install -o root -g git -Dm664 ${srcdir}/app.ini ${pkgdir}/etc/gitea/app.ini
}