Update to 1.5.1.1, add new post_upgrade instructions and make available for any arch

This commit is contained in:
Philipp Schmitt 2014-02-19 16:33:35 +01:00
parent dc40282ab1
commit 3e1e0da5cc
3 changed files with 16 additions and 7 deletions

View file

@ -1,10 +1,10 @@
pkgbase = wallabag pkgbase = wallabag
pkgdesc = Self hostable application for saving web pages pkgdesc = Self hostable application for saving web pages
pkgver = 1.5.0 pkgver = 1.5.1.1
pkgrel = 1 pkgrel = 1
url = http://www.wallabag.org/ url = http://www.wallabag.org/
install = wallabag.install install = wallabag.install
arch = x86_64 arch = any
license = WTFPL license = WTFPL
depends = php>=5.3 depends = php>=5.3
depends = php-tidy depends = php-tidy
@ -12,9 +12,10 @@ pkgbase = wallabag
depends = mariadb depends = mariadb
optdepends = php-sqlite: For sqlite storage optdepends = php-sqlite: For sqlite storage
optdepends = php-pgsql: For postgres storage optdepends = php-pgsql: For postgres storage
source = https://github.com/wallabag/wallabag/archive/1.5.0.tar.gz options = !strip
source = https://github.com/wallabag/wallabag/archive/1.5.1.1.tar.gz
source = vendor.zip::http://wllbg.org/vendor source = vendor.zip::http://wllbg.org/vendor
sha256sums = d76dd80920e7474d1b017540d6639908752e4ab35a82d0dee8e149ba33b708a4 sha256sums = d0d63e5efe56ea28c4ebda2a0ea84162d75c9f7899fccb45aa3fb3e7afc12f5f
sha256sums = bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12 sha256sums = bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12
pkgname = wallabag pkgname = wallabag

View file

@ -1,18 +1,19 @@
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co) # Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
pkgname=wallabag pkgname=wallabag
pkgver=1.5.0 pkgver=1.5.1.1
pkgrel=1 pkgrel=1
pkgdesc='Self hostable application for saving web pages' pkgdesc='Self hostable application for saving web pages'
arch=('x86_64') arch=('any')
url='http://www.wallabag.org/' url='http://www.wallabag.org/'
license=('WTFPL') license=('WTFPL')
depends=('php>=5.3' 'php-tidy' 'pcre' 'mariadb') depends=('php>=5.3' 'php-tidy' 'pcre' 'mariadb')
optdepends=('php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage') optdepends=('php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage')
install="$pkgname.install" install="$pkgname.install"
options=(!strip)
source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz" source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz"
"vendor.zip::http://wllbg.org/vendor") "vendor.zip::http://wllbg.org/vendor")
sha256sums=('d76dd80920e7474d1b017540d6639908752e4ab35a82d0dee8e149ba33b708a4' sha256sums=('d0d63e5efe56ea28c4ebda2a0ea84162d75c9f7899fccb45aa3fb3e7afc12f5f'
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12') 'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
prepare() { prepare() {

View file

@ -17,3 +17,10 @@ post_install() {
More info: http://doc.wallabag.org/doku.php?id=users:begin:install' More info: http://doc.wallabag.org/doku.php?id=users:begin:install'
} }
post_upgrade() {
echo 'After each upgrade you have to manually:
- Remove the installation folder (/usr/share/webapps/wallabag/install)
- Empty the cache folder (/usr/share/webapps/wallabag/cache)
$ sudo -u http rm -rf /usr/share/webapps/wallabag/{install,cache/*}'
}