Don't try to chown /usr

This commit is contained in:
Philipp Schmitt 2015-02-19 15:08:00 +01:00
parent c8f9dd9314
commit c1db7f95d8
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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"
}