From c1db7f95d80eaeedb597bd56a61e36a552134ca5 Mon Sep 17 00:00:00 2001 From: Philipp Schmitt Date: Thu, 19 Feb 2015 15:08:00 +0100 Subject: [PATCH] Don't try to chown /usr --- .SRCINFO | 1 + PKGBUILD | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 14534d6..073615a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -9,6 +9,7 @@ pkgbase = wallabag depends = php>=5.3.3 depends = php-tidy depends = pcre + depends = php-gd optdepends = mariadb: For MySQL storage optdepends = php-sqlite: For sqlite storage optdepends = php-pgsql: For postgres storage diff --git a/PKGBUILD b/PKGBUILD index 8a791e6..513ce0c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -7,7 +7,7 @@ pkgdesc='Self hostable application for saving web pages' arch=('any') url='http://www.wallabag.org/' license=('MIT') -depends=('php>=5.3.3' 'php-tidy' 'pcre') +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) @@ -21,6 +21,6 @@ package() { mkdir -p usr/share/webapps mv "${srcdir}/${pkgname}-${pkgver}" usr/share/webapps/${pkgname} mv "${srcdir}/vendor" usr/share/webapps/${pkgname}/vendor - chown -R http:http "${pkgdir}" + chown -R http:http "${pkgdir}/usr/share/webapps/wallabag" }