From 3b9bf3ed1de8281970005f861fd19e38cc793210 Mon Sep 17 00:00:00 2001 From: Robert Sprunk Date: Wed, 29 Aug 2018 09:21:05 +0200 Subject: [PATCH] Version 2.3.3 (#15) * Update to 2.3.3 * Different name of extracted folder * Quote variables --- PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 42b655e..42f41fb 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Philipp Schmitt (philippschmittco) pkgname=wallabag -pkgver=2.3.2 +pkgver=2.3.3 pkgrel=1 pkgdesc='Self hostable application for saving web pages' arch=('any') @@ -22,7 +22,7 @@ optdepends=( install="$pkgname.install" options=(!strip) source=("https://static.wallabag.org/releases/wallabag-release-${pkgver}.tar.gz") -sha256sums=('047a49d48a1199bd1634cab76d4af3dba95096885d4f7814377210fa76fbcc9f') +sha256sums=('eff21708f49f5d3d28dc51a34a5de63e551c1062ea3b7fd3c59d58fca26a058b') backup=("etc/webapps/${pkgname}/parameters.yml" "usr/share/webapps/${pkgname}/parameters.yml" "var/lib/${pkgname}/data/db/wallabag.sqlite" @@ -31,14 +31,14 @@ backup=("etc/webapps/${pkgname}/parameters.yml" package() { cd "${pkgdir}" mkdir -p usr/share/webapps - mv "${srcdir}/wallabag-release-${pkgver}" usr/share/webapps/${pkgname} + mv "${srcdir}/${pkgver}" "usr/share/webapps/${pkgname}" WALLABAG_CONF_DIR="${pkgdir}/usr/share/webapps/${pkgname}/app/config" install -d "${pkgdir}/etc/webapps/${pkgname}/" - mv "${WALLABAG_CONF_DIR}"/parameters.yml ${pkgdir}/etc/webapps/${pkgname}/ - chown -R http:http ${pkgdir}/etc/webapps/${pkgname} - ln -s /etc/webapps/${pkgname}/parameters.yml "${WALLABAG_CONF_DIR}"/ + mv "${WALLABAG_CONF_DIR}"/parameters.yml "${pkgdir}/etc/webapps/${pkgname}/" + chown -R http:http "${pkgdir}/etc/webapps/${pkgname}" + ln -s "/etc/webapps/${pkgname}/parameters.yml" "${WALLABAG_CONF_DIR}"/ _VAR_DIR="${pkgdir}/var/lib/${pkgname}/" install -d "$_VAR_DIR"