2014-02-17 13:40:23 +01:00
|
|
|
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
|
|
|
|
|
|
|
|
pkgname=wallabag
|
2016-05-06 07:54:15 +02:00
|
|
|
pkgver=2.0.3
|
2016-05-06 07:56:46 +02:00
|
|
|
pkgrel=2
|
2014-02-17 13:40:23 +01:00
|
|
|
pkgdesc='Self hostable application for saving web pages'
|
2014-02-19 16:33:35 +01:00
|
|
|
arch=('any')
|
2014-02-17 13:40:23 +01:00
|
|
|
url='http://www.wallabag.org/'
|
2014-12-17 19:46:24 +01:00
|
|
|
license=('MIT')
|
2015-02-19 15:08:00 +01:00
|
|
|
depends=('php>=5.3.3' 'php-tidy' 'pcre' 'php-gd')
|
2014-07-22 20:48:23 +02:00
|
|
|
optdepends=('mariadb: For MySQL storage' 'php-sqlite: For sqlite storage' 'php-pgsql: For postgres storage')
|
2014-02-17 13:40:23 +01:00
|
|
|
install="$pkgname.install"
|
2014-02-19 16:33:35 +01:00
|
|
|
options=(!strip)
|
2016-05-06 07:54:15 +02:00
|
|
|
source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz" "vendor.zip::http://wllbg.org/vendor")
|
|
|
|
sha256sums=('2252e0218917bc71db03db60a7b6940b4b8bdc8602732a458e906147e3c99a73'
|
2014-02-17 13:40:23 +01:00
|
|
|
'bd3e843290de28f1c20fa19ed746ca221c9174cb7f0a9723618f21bddb883e12')
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${pkgdir}"
|
|
|
|
mkdir -p usr/share/webapps
|
2016-05-06 07:54:15 +02:00
|
|
|
mv "${srcdir}/${pkgname}-${pkgver}" usr/share/webapps/${pkgname}
|
2014-02-17 13:40:23 +01:00
|
|
|
mv "${srcdir}/vendor" usr/share/webapps/${pkgname}/vendor
|
2015-02-19 15:08:00 +01:00
|
|
|
chown -R http:http "${pkgdir}/usr/share/webapps/wallabag"
|
2014-02-17 13:40:23 +01:00
|
|
|
}
|
|
|
|
|