Merge pull request #12 from Roshless/master

Update to 2.3.1
This commit is contained in:
Philipp Schmitt 2018-01-22 08:14:48 +01:00 committed by GitHub
commit 3ea65d3d8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 8 deletions

View file

@ -1,12 +1,12 @@
pkgbase = wallabag pkgbase = wallabag
pkgdesc = Self hostable application for saving web pages pkgdesc = Self hostable application for saving web pages
pkgver = 2.2.3 pkgver = 2.3.1
pkgrel = 1 pkgrel = 1
url = http://www.wallabag.org/ url = http://www.wallabag.org/
install = wallabag.install install = wallabag.install
arch = any arch = any
license = MIT license = MIT
depends = php>=5.5 depends = php>=5.6
depends = php-gd depends = php-gd
depends = php-tidy depends = php-tidy
depends = pcre depends = pcre
@ -19,8 +19,8 @@ pkgbase = wallabag
backup = usr/share/webapps/wallabag/parameters.yml backup = usr/share/webapps/wallabag/parameters.yml
backup = var/lib/wallabag/data/db/wallabag.sqlite backup = var/lib/wallabag/data/db/wallabag.sqlite
backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite backup = usr/share/webapps/wallabag/data/db/wallabag.sqlite
source = https://static.wallabag.org/releases/wallabag-release-2.2.3.tar.gz source = https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz
sha256sums = 13fe5cb7cfc741abee08312f0055e9549e60590daff2fac41be5266f7956d857 sha256sums = c459de5b6752e94ccd4165c75ec11ad3ce7f1cb73c2f2f2f53e89568599467e2
pkgname = wallabag pkgname = wallabag

View file

@ -1,14 +1,14 @@
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co) # Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
pkgname=wallabag pkgname=wallabag
pkgver=2.2.3 pkgver=2.3.1
pkgrel=1 pkgrel=1
pkgdesc='Self hostable application for saving web pages' pkgdesc='Self hostable application for saving web pages'
arch=('any') arch=('any')
url='http://www.wallabag.org/' url='http://www.wallabag.org/'
license=('MIT') license=('MIT')
depends=( depends=(
'php>=5.5' 'php>=5.6'
'php-gd' 'php-gd'
'php-tidy' 'php-tidy'
'pcre' 'pcre'
@ -22,7 +22,7 @@ optdepends=(
install="$pkgname.install" install="$pkgname.install"
options=(!strip) options=(!strip)
source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz") source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz")
sha256sums=('13fe5cb7cfc741abee08312f0055e9549e60590daff2fac41be5266f7956d857') sha256sums=('c459de5b6752e94ccd4165c75ec11ad3ce7f1cb73c2f2f2f53e89568599467e2')
backup=("etc/webapps/${pkgname}/parameters.yml" backup=("etc/webapps/${pkgname}/parameters.yml"
"usr/share/webapps/${pkgname}/parameters.yml" "usr/share/webapps/${pkgname}/parameters.yml"
"var/lib/${pkgname}/data/db/wallabag.sqlite" "var/lib/${pkgname}/data/db/wallabag.sqlite"
@ -31,7 +31,7 @@ backup=("etc/webapps/${pkgname}/parameters.yml"
package() { package() {
cd "${pkgdir}" cd "${pkgdir}"
mkdir -p usr/share/webapps mkdir -p usr/share/webapps
mv "${srcdir}/release-${pkgver}" usr/share/webapps/${pkgname} mv "${srcdir}/${pkgver}" usr/share/webapps/${pkgname}
WALLABAG_CONF_DIR="${pkgdir}/usr/share/webapps/${pkgname}/app/config" WALLABAG_CONF_DIR="${pkgdir}/usr/share/webapps/${pkgname}/app/config"

View file

@ -38,4 +38,11 @@ pre_upgrade() {
post_upgrade() { post_upgrade() {
rm -rf /var/lib/wallabag/var/cache/* 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 ""
} }