upgpkg: wallabag 2.4.0-1
upstream release
This commit is contained in:
parent
df7bfda860
commit
5db514a017
3 changed files with 17 additions and 16 deletions
|
@ -1,12 +1,13 @@
|
|||
pkgbase = wallabag
|
||||
pkgdesc = Self hostable application for saving web pages
|
||||
pkgver = 2.3.8
|
||||
pkgver = 2.4.0
|
||||
pkgrel = 1
|
||||
url = http://www.wallabag.org/
|
||||
install = wallabag.install
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = php>=5.6
|
||||
makedepends = systemd
|
||||
depends = php>=7.2
|
||||
depends = php-gd
|
||||
depends = php-tidy
|
||||
depends = pcre
|
||||
|
@ -19,8 +20,8 @@ pkgbase = wallabag
|
|||
backup = usr/share/webapps/wallabag/parameters.yml
|
||||
backup = var/lib/wallabag/data/db/wallabag.sqlite
|
||||
backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite
|
||||
source = https://static.wallabag.org/releases/wallabag-release-2.3.8.tar.gz
|
||||
sha256sums = 58f319ee41828fcc4fd00a14c4ac7c16b2179a47af21e257a15938311d1426eb
|
||||
source = https://static.wallabag.org/releases/wallabag-release-2.4.0.tar.gz
|
||||
sha256sums = 11caf6e87661215f8bb898fc61c149d8fd14de3f19928d50be53208cd5516d87
|
||||
|
||||
pkgname = wallabag
|
||||
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
||||
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
|
||||
# Contributor: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
||||
|
||||
pkgname=wallabag
|
||||
pkgver=2.3.8
|
||||
pkgver=2.4.0
|
||||
pkgrel=1
|
||||
pkgdesc='Self hostable application for saving web pages'
|
||||
arch=('any')
|
||||
url='http://www.wallabag.org/'
|
||||
license=('MIT')
|
||||
makedepends=('systemd')
|
||||
depends=(
|
||||
'php>=5.6'
|
||||
'php>=7.2'
|
||||
'php-gd'
|
||||
'php-tidy'
|
||||
'pcre'
|
||||
|
@ -22,7 +24,7 @@ optdepends=(
|
|||
install="$pkgname.install"
|
||||
options=(!strip)
|
||||
source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz")
|
||||
sha256sums=('58f319ee41828fcc4fd00a14c4ac7c16b2179a47af21e257a15938311d1426eb')
|
||||
sha256sums=('11caf6e87661215f8bb898fc61c149d8fd14de3f19928d50be53208cd5516d87')
|
||||
backup=("etc/webapps/${pkgname}/parameters.yml"
|
||||
"usr/share/webapps/${pkgname}/parameters.yml"
|
||||
"var/lib/${pkgname}/data/db/wallabag.sqlite"
|
||||
|
|
|
@ -11,9 +11,6 @@ post_install() {
|
|||
echo ""
|
||||
echo -n "To setup your webserver and enable the needed php extensions, "
|
||||
echo "please read: https://doc.wallabag.org/en/master/user/installation.html"
|
||||
echo ""
|
||||
echo -n "If you upgraded from 2.0.x or 2.1.x, you might need to check "
|
||||
echo "the upgrade guide: https://doc.wallabag.org/en/master/user/upgrade.html"
|
||||
}
|
||||
|
||||
|
||||
|
@ -39,10 +36,11 @@ pre_upgrade() {
|
|||
post_upgrade() {
|
||||
rm -rf /var/lib/wallabag/var/cache/*
|
||||
echo ""
|
||||
echo "====================================================================================="
|
||||
echo " If you upgraded from 2.2.3 to 2.3.X you need to do database "
|
||||
echo " migrations, check the guide: "
|
||||
echo "https://doc.wallabag.org/en/admin/upgrade.html#explanations-about-database-migrations"
|
||||
echo "====================================================================================="
|
||||
echo "====================================================================================================="
|
||||
echo " You need to execute any database migration with: "
|
||||
echo "cd /usr/share/webapps/wallabag && sudo -u http php bin/console --env=prod doctrine:migrations:migrate"
|
||||
echo " "
|
||||
echo " Check the release notes for any other step: https://github.com/wallabag/wallabag/releases "
|
||||
echo "====================================================================================================="
|
||||
echo ""
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue