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

pkgname=freshrss-youtubechannel2rssfeed
_pkgname=YouTubeChannel2RssFeed
pkgver=0.3
pkgrel=0
pkgdesc="Transfer YouTube Channel URL into RSS Feed URL."
url="https://github.com/cn-tools/cntools_FreshRssExtensions"
arch="noarch"
license="MIT"
depends="freshrss"
_giturl="https://github.com/cn-tools/cntools_FreshRssExtensions"
_gittag="44ffb1c6a7608ab9b156b73d8286953e306719b2"
source="$pkgname-$_gittag.tar.gz::$_giturl/archive/$_gittag.tar.gz"
options="!check" # No testsuite
builddir="$srcdir"/cntools_FreshRssExtensions-$_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="
596d8ada15a756dbb749df1277da1a1f725d3ce6e492eb196ec64616989b241209459fc81b69c6f73d38517943d8ba142572d84d86cefd195611ba12a388258e  freshrss-youtubechannel2rssfeed-44ffb1c6a7608ab9b156b73d8286953e306719b2.tar.gz
"
