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

pkgname=freshrss-smartmobilemenu
_pkgname=SmartMobileMenu
pkgver=0.1
pkgrel=0
pkgdesc="Minimizes the required button space and groups buttons"
url="https://github.com/langfeld/FreshRSS-extensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/langfeld/FreshRSS-extensions"
_gittag="cb1503844f55fb5b07568ed98f601c547d1f1596"
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/FreshRSS-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="
2ee381842a279c88b191ac19c3bffb52fb2d5be543c34578b6715d6db033abdefd630592086da0e4ac11fc10ec6ca5313f6c654a26ce61b80cf8543f47acff14  freshrss-smartmobilemenu-cb1503844f55fb5b07568ed98f601c547d1f1596.tar.gz
"