archlinux-pkgbuilds/PKGBUILD

27 lines
919 B
Text
Raw Normal View History

2014-02-17 13:40:23 +01:00
# Maintainer: Philipp Schmitt (philipp<at>schmitt<dot>co)
pkgname=wallabag
pkgver=1.7.1
2014-02-17 13:40:23 +01:00
pkgrel=1
pkgdesc='Self hostable application for saving web pages'
arch=('any')
2014-02-17 13:40:23 +01:00
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')
2014-02-17 13:40:23 +01:00
install="$pkgname.install"
options=(!strip)
2014-02-17 13:40:23 +01:00
source=("https://github.com/wallabag/wallabag/archive/${pkgver}.tar.gz"
"vendor.zip::http://wllbg.org/vendor")
sha256sums=('c8374578489fc36b4f93852c8a1eaa0184330f8bf84e37fc54e01c48cc4a5dbf'
2014-02-17 13:40:23 +01:00
'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}"
}