# Maintainer: Antoine Martin (ayakael) # Contributor: Antoine Martin (ayakael) pkgname=freshrss pkgver=1.20.0 pkgrel=0 pkgdesc="FreshRSS is a self-hosted RSS feed aggregator" arch="noarch" url="http://freshrss.org" license="AGPL-3.0-only" _php=php81 _php_mods="-ctype -curl -dom -fileinfo -gmp -iconv -intl -json -mbstring -openssl -phar -session -simplexml -tokenizer -xml -xmlreader -xmlwriter -zip -zlib" depends="$_php ${_php_mods//-/$_php-}" source="$pkgname-$pkgver.tar.gz::https://github.com/FreshRSS/FreshRSS/archive/$pkgver.tar.gz" builddir="$srcdir/FreshRSS-$pkgver" options='!check' # No testsuite pkgusers="freshrss" pkggroups="www-data" package() { local datadir="/var/lib/$pkgname" local wwwdir="/usr/share/webapps/$pkgname" local confdir="/etc/$pkgname" install -d "$pkgdir"/$datadir "$pkgdir"/$wwwdir "$pkgdir"/$confdir cp -r "$builddir"/. "$pkgdir"/$wwwdir mv "$pkgdir"/$wwwdir/data "$pkgdir"/$datadir ln -s "/var/lib/freshrss" "$pkgdir"/$wwwdir/data } sha512sums=" 335bc471950ac150ee3e1a56504ce6111c29497ec1bc5d5eb44b263a8b8aadb701c20ad56578caacc4493ce70dfd8c6f88ff0cec87a9542d444b6a0648fe8561 freshrss-1.20.0.tar.gz "