# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>

pkgname=freshrss-sharebyemail
_pkgname=ShareByEmail
pkgver=0.1
pkgrel=0
pkgdesc="Improve the sharing by email system"
url="https://github.com/FreshRSS/Extensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/FreshRSS/Extensions"
_gittag="6934fc40f3ed4e44a9908e05ce8f4d2438bb3a5f"
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/Extensions-$_gittag
pkgusers="freshrss"
pkggroups="www-data"

package() {
	local appdir="/usr/share/webapps/${pkgname%%-*}/extensions"
	install -d "$pkgdir"/$appdir
	cp -R "$builddir"/xExtension-$_pkgname "$pkgdir"/$appdir
}
sha512sums="
53b8ebaa749db6871ced9933d23aefe4e1e4a168182c2421456978525564a2c2c163789b823f998a4836e4c7eb84afa2eb93e3699902bfccf123f4e017a7541f  freshrss-sharebyemail-6934fc40f3ed4e44a9908e05ce8f4d2438bb3a5f.tar.gz
"
