ayaports/user/freshrss-ttrss-api/APKBUILD

29 lines
1,006 B
Text
Raw Normal View History

2023-01-10 19:17:05 +00:00
# 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="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
"