28 lines
1,013 B
Text
28 lines
1,013 B
Text
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
|
|
|
pkgname=freshrss-ttrss-api
|
|
_pkgname=TTRSS_API
|
|
pkgver=0.1
|
|
pkgrel=0
|
|
pkgdesc="Provides an API compliant with TinyTinyRSS applications"
|
|
url="https://github.com/FreshRSS/Extensions"
|
|
arch="!armv7 noarch"
|
|
license="AGPL-3.0-only"
|
|
depends="freshrss"
|
|
_giturl="https://github.com/FreshRSS/Extensions"
|
|
_gittag="6ac80cbdb903a918c6c1f3665e074cb27cc929e3"
|
|
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="
|
|
1a27cba4642689a606b37203e8d3e1d7d79a3ed52d6b40bbe8989a70cccfe6cd6beff85d29fc654b8f3e7f21a52de4ac08ac2c6ab02ac0d599ffa4c6c786596c freshrss-ttrss-api-6ac80cbdb903a918c6c1f3665e074cb27cc929e3.tar.gz
|
|
"
|