30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
|
|
|
pkgname=freshrss
|
|
pkgver=1.14.2
|
|
pkgrel=0
|
|
pkgdesc="FreshRSS is a self-hosted RSS feed aggregator"
|
|
arch='noarch'
|
|
url="http://freshrss.org"
|
|
license='AGPL'
|
|
depends='nginx php7 php7-curl php7-dom php7-xml php7-session php7-ctype php7-pdo_mysql mariadb php7-json php7-gmp php7-intl php7-mbstring php7-iconv php7-zip php7-zlib'
|
|
source="https://github.com/FreshRSS/FreshRSS/archive/${pkgver}.zip"
|
|
builddir="${srcdir}/FreshRSS-${pkgver}"
|
|
|
|
build() {
|
|
return 0
|
|
}
|
|
|
|
package() {
|
|
cd ${builddir}
|
|
install -d "${pkgdir}/usr/share/webapps/${pkgname}"
|
|
mkdir -p "${pkgdir}/var/lib/freshrss"
|
|
cp -r ./data/. "${pkgdir}/var/lib/${pkgname}/"
|
|
cp -r . "${pkgdir}/usr/share/webapps/${pkgname}/"
|
|
rm -R "${pkgdir}/usr/share/webapps/${pkgname}/data"
|
|
ln -s "/var/lib/freshrss" "${pkgdir}/usr/share/webapps/${pkgname}/data"
|
|
chown 100:101 -R "${pkgdir}/usr/share/webapps/${pkgname}/data"
|
|
}
|
|
|
|
sha512sums="fdc993419aedfc03272286a2eda07861a3327be0f37145ddf4af915438f2887fc65f6a1804717854fda84e29bd678b7e8dcf1c1fc29f3a8cf870c9783ee71a05 FreshRSS-1.14.2.zip"
|
|
|