Update to 2.0.3

This commit is contained in:
Philipp Schmitt 2016-05-06 07:54:15 +02:00
parent e87dad9afb
commit 8e9b7dc9b7
2 changed files with 9 additions and 8 deletions

View file

@ -1,6 +1,8 @@
# Generated by mksrcinfo v8
# Fri May 6 05:54:02 UTC 2016
pkgbase = wallabag
pkgdesc = Self hostable application for saving web pages
pkgver = 1.9.1b
pkgver = 2.0.3
pkgrel = 1
url = http://www.wallabag.org/
install = wallabag.install
@ -14,9 +16,9 @@ pkgbase = wallabag
optdepends = php-sqlite: For sqlite storage
optdepends = php-pgsql: For postgres storage
options = !strip
source = https://github.com/wallabag/wallabag/archive/1.9.1-b.tar.gz
source = https://github.com/wallabag/wallabag/archive/2.0.3.tar.gz
source = vendor.zip::http://wllbg.org/vendor
sha256sums = 964d2cfb0a4f664285ddbaa08b873d55066b9937762d4b892a03e3619ad3ec09
sha256sums = 2252e0218917bc71db03db60a7b6940b4b8bdc8602732a458e906147e3c99a73
sha256sums = bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12
pkgname = wallabag

View file

@ -1,8 +1,7 @@
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
pkgname=wallabag
pkgver=1.9.1b
_pkgver="$(sed -r 's/([a-zA-Z])/-\1/' <<< $pkgver)"
pkgver=2.0.3
pkgrel=1
pkgdesc='Self hostable application for saving web pages'
arch=('any')
@ -12,14 +11,14 @@ depends=('php>=5.3.3' 'php-tidy' 'pcre' 'php-gd')
optdepends=('mariadb: For MySQL storage' 'php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage')
install="$pkgname.install"
options=(!strip)
source=("https://github.com/wallabag/wallabag/archive/${_pkgver}.tar.gz" "vendor.zip::http://wllbg.org/vendor")
sha256sums=('964d2cfb0a4f664285ddbaa08b873d55066b9937762d4b892a03e3619ad3ec09'
source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz" "vendor.zip::http://wllbg.org/vendor")
sha256sums=('2252e0218917bc71db03db60a7b6940b4b8bdc8602732a458e906147e3c99a73'
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
package() {
cd "${pkgdir}"
mkdir -p usr/share/webapps
mv "${srcdir}/${pkgname}-${_pkgver}" usr/share/webapps/${pkgname}
mv "${srcdir}/${pkgname}-${pkgver}" usr/share/webapps/${pkgname}
mv "${srcdir}/vendor" usr/share/webapps/${pkgname}/vendor
chown -R http:http "${pkgdir}/usr/share/webapps/wallabag"
}