ayaports/user/freshrss/APKBUILD

36 lines
1.2 KiB
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>
2021-06-04 15:24:22 +00:00
2023-01-10 19:17:05 +00:00
pkgname=freshrss
2023-04-01 15:49:00 +00:00
pkgver=1.21.0
2021-07-14 03:56:39 +00:00
pkgrel=0
2021-06-04 15:24:22 +00:00
pkgdesc="FreshRSS is a self-hosted RSS feed aggregator"
2023-08-11 19:49:05 +00:00
arch="noarch"
2021-06-04 15:24:22 +00:00
url="http://freshrss.org"
2023-01-10 19:17:05 +00:00
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"
2021-06-04 15:24:22 +00:00
package() {
2023-01-10 19:17:05 +00:00
local datadir="/var/lib/$pkgname"
local wwwdir="/usr/share/webapps/$pkgname"
local confdir="/etc/$pkgname"
2021-06-04 15:24:22 +00:00
2023-01-10 19:17:05 +00:00
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
}
2021-06-04 15:24:22 +00:00
2023-01-10 19:17:05 +00:00
sha512sums="
2023-04-01 15:49:00 +00:00
a36fd73367c12deb67bdc3b4d79ac53607528e9acc06f08909eb14a5134f63b0050f7fc0099b17707dbb8b5f1d9c757a28ed1c4a6b762c27a3391696ce45f7b4 freshrss-1.21.0.tar.gz
2023-01-10 19:17:05 +00:00
"