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