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

pkgname=freshrss-titlewrap
_pkgname=TitleWrap
pkgver=0.1
pkgrel=0
pkgdesc="Applies a line-wrap to long article titles, as opposed to truncating the title when it overflows its display area"
url="https://github.com/FreshRSS/Extensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/FreshRSS/Extensions"
_gittag="8b50f74fd00a2619154c702f4136a71ff6a7862b"
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="
5c9d0c025848565baee3f49b140326a651db9368e058399fbf752e9b2d96d250de36eac3abb63d42f65619e6cb8c63c471a088c1ad72804045302ba16967a085  freshrss-titlewrap-8b50f74fd00a2619154c702f4136a71ff6a7862b.tar.gz
"
