26 lines
919 B
Bash
26 lines
919 B
Bash
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
|
|
|
pkgname=wallabag
|
|
pkgver=1.7.2
|
|
pkgrel=2
|
|
pkgdesc='Self hostable application for saving web pages'
|
|
arch=('any')
|
|
url='http://www.wallabag.org/'
|
|
license=('WTFPL')
|
|
depends=('php>=5.3' 'php-tidy' 'pcre')
|
|
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=('1bbef1dc2d1359fa19975c25a70cc1dd4144ba11882ebda70a1939aa1c39ebb8'
|
|
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
|
|
|
|
package() {
|
|
cd "${pkgdir}"
|
|
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}"
|
|
}
|
|
|