update all the packages, remove some unneeded ones
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
||||
|
||||
pkgname=wallabag
|
||||
pkgver=2.2.3
|
||||
pkgver=2.3.2
|
||||
pkgrel=1
|
||||
pkgdesc='Self hostable application for saving web pages'
|
||||
arch=('any')
|
||||
url='http://www.wallabag.org/'
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'php>=5.5'
|
||||
'php>=5.6'
|
||||
'php-gd'
|
||||
'php-tidy'
|
||||
'pcre'
|
||||
@@ -22,7 +22,7 @@ optdepends=(
|
||||
install="$pkgname.install"
|
||||
options=(!strip)
|
||||
source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz")
|
||||
sha256sums=('13fe5cb7cfc741abee08312f0055e9549e60590daff2fac41be5266f7956d857')
|
||||
sha256sums=('047a49d48a1199bd1634cab76d4af3dba95096885d4f7814377210fa76fbcc9f')
|
||||
backup=("etc/webapps/${pkgname}/parameters.yml"
|
||||
"usr/share/webapps/${pkgname}/parameters.yml"
|
||||
"var/lib/${pkgname}/data/db/wallabag.sqlite"
|
||||
@@ -31,7 +31,7 @@ backup=("etc/webapps/${pkgname}/parameters.yml"
|
||||
package() {
|
||||
cd "${pkgdir}"
|
||||
mkdir -p usr/share/webapps
|
||||
mv "${srcdir}/release-${pkgver}" usr/share/webapps/${pkgname}
|
||||
mv "${srcdir}/wallabag-release-${pkgver}" usr/share/webapps/${pkgname}
|
||||
|
||||
WALLABAG_CONF_DIR="${pkgdir}/usr/share/webapps/${pkgname}/app/config"
|
||||
|
||||
|
||||
@@ -38,4 +38,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 ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user