summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Kudryavtsev2017-10-13 02:14:44 +0300
committerAnton Kudryavtsev2017-10-13 02:14:44 +0300
commitf2cfe80328668a822dc450c3292371bad9831af4 (patch)
tree9deaf5dee5dee2682bfe2c87f922c86f1a80d837
parenta45044e5c9e3e3de14ee937e3357c8034a805e7a (diff)
downloadaur-f2cfe80328668a822dc450c3292371bad9831af4.tar.gz
One less dir
-rw-r--r--.SRCINFO4
-rw-r--r--0001-Adjust-config-for-Arch-Linux-package.patch6
-rw-r--r--PKGBUILD5
3 files changed, 7 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a2a5a4f154f1..f58d76954aa8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gitea-git
pkgdesc = A painless self-hosted Git service.
- pkgver = v1.1.0.r619.g6b62f042
- pkgrel = 2
+ pkgver = v1.1.0.r626.ga4cd4616
+ pkgrel = 1
url = https://gitea.io/
install = gitea.install
arch = i686
diff --git a/0001-Adjust-config-for-Arch-Linux-package.patch b/0001-Adjust-config-for-Arch-Linux-package.patch
index e5e35fbd7fd0..00afeefa6af0 100644
--- a/0001-Adjust-config-for-Arch-Linux-package.patch
+++ b/0001-Adjust-config-for-Arch-Linux-package.patch
@@ -1,5 +1,5 @@
--- app.ini
-+++ app.ini 2017-10-05 18:08:31.000000000 +0300
++++ app.ini 2017-10-12 10:50:05.000000000 +0300
@@ -1,12 +1,12 @@
; App name that shows on every page title
APP_NAME = Gitea: Git with a cup of tea
@@ -21,14 +21,14 @@
[repository.local]
; Path for uploads. Defaults to `tmp/local-repo`
-LOCAL_COPY_PATH = tmp/local-repo
-+LOCAL_COPY_PATH = /var/cache/gitea/local-repo
++LOCAL_COPY_PATH = /var/lib/gitea/tmp/local-repo
[repository.upload]
; Whether repository file uploads are enabled. Defaults to `true`
ENABLED = true
; Path for uploads. Defaults to `data/tmp/uploads` (tmp gets deleted on gitea restart)
-TEMP_PATH = data/tmp/uploads
-+TEMP_PATH = /var/cache/gitea
++TEMP_PATH = /var/lib/gitea/data/tmp/uploads
; One or more allowed types, e.g. image/jpeg|image/png. Nothing means any file type
ALLOWED_TYPES =
; Max size of each file in MB. Defaults to 3MB
diff --git a/PKGBUILD b/PKGBUILD
index 3cc5f4b29bc5..1641b24ae21c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,8 +9,8 @@ _pkgname="gitea"
_gourl="code.gitea.io"
pkgname=gitea-git
-pkgrel=2
-pkgver=v1.1.0.r619.g6b62f042
+pkgrel=1
+pkgver=v1.1.0.r626.ga4cd4616
pkgdesc="A painless self-hosted Git service."
url="https://gitea.io/"
license=("MIT")
@@ -65,7 +65,6 @@ package() {
install -dm0700 "${pkgdir}/var/log/${_pkgname}/"
install -dm0700 "${pkgdir}/var/lib/${_pkgname}/"
- install -dm0700 "${pkgdir}/var/cache/${_pkgname}/"
install -dm0755 "${pkgdir}/usr/share/${_pkgname}/"
cp -r "${srcdir}/src/${_gourl}/${_pkgname}/conf" "${pkgdir}/usr/share/${_pkgname}"