summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordadosch2020-12-22 14:30:45 +0100
committerdadosch2020-12-22 14:30:45 +0100
commite2182a9a7d342252c008e74e10f626eeac00de32 (patch)
treece29cb96dee36a7172cd0734d81f1072eb5b785e
parentb4dc6cf0a458a699dedea32ebe889834f180dc39 (diff)
downloadaur-e2182a9a7d342252c008e74e10f626eeac00de32.tar.gz
update to 3.0.0, don't serve source zip in webroot
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD9
2 files changed, 10 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 18dde05a1c8..9297fdc4ec7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = grocy
pkgdesc = web-based self-hosted groceries & household management solution for your home
- pkgver = 2.7.1
- pkgrel = 3
+ pkgver = 3.0.0
+ pkgrel = 1
url = https://grocy.info/
arch = any
license = MIT
@@ -9,8 +9,8 @@ pkgbase = grocy
depends = php-sqlite
depends = php-gd
backup = etc/webapps/grocy/config.php
- source = https://github.com/grocy/grocy/releases/download/v2.7.1/grocy_2.7.1.zip
- sha256sums = f95cc2cc279a6445738ef9b5cc05a8cee438348d343081a76a6aa74464f76129
+ source = https://github.com/grocy/grocy/releases/download/v3.0.0/grocy_3.0.0.zip
+ sha256sums = 3bb0e4b1f03de481ef2c9c91ad61bc88409c5140ec3adcad77bf24a0d65d4331
pkgname = grocy
diff --git a/PKGBUILD b/PKGBUILD
index 1213d972629..0d8256f4e82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: danieltetraquark
pkgname=grocy
-pkgver=2.7.1
-pkgrel=3
+pkgver=3.0.0
+pkgrel=1
pkgdesc="web-based self-hosted groceries & household management solution for your home"
depends=('php' 'php-sqlite' 'php-gd')
license=('MIT')
@@ -11,11 +11,14 @@ url="https://grocy.info/"
source=(
https://github.com/grocy/grocy/releases/download/v${pkgver}/grocy_${pkgver}.zip
)
-sha256sums=('f95cc2cc279a6445738ef9b5cc05a8cee438348d343081a76a6aa74464f76129')
+sha256sums=('3bb0e4b1f03de481ef2c9c91ad61bc88409c5140ec3adcad77bf24a0d65d4331')
backup=('etc/webapps/grocy/config.php')
package() {
+ # delete source zip, not needed in webroot
+ rm grocy_${pkgver}.zip
+
_instdir="$pkgdir"/usr/share/webapps/grocy
mkdir -p "$_instdir" "$pkgdir"/etc/webapps/grocy