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

pkgname=freshrss-customcss
_pkgname=CustomCSS
pkgver=0.2
pkgrel=0
pkgdesc="Give possibility to overwrite the CSS with a user-specific rules"
url="https://github.com/FreshRSS/Extensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/FreshRSS/Extensions"
_gittag="195afe21308bf2282b078ea2e831b124581454ac"
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="
2dc261c7a07bfe7579f39742d403da44cea3f415752b389d4a4c6c3f484a36503ddb4e4174583f7239de97b69f1e1cd49df640ad343ccc5b3b2fb9d152c9ecc9  freshrss-customcss-195afe21308bf2282b078ea2e831b124581454ac.tar.gz
"
