30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
|
|
|
pkgname=freshrss
|
|
pkgver=1.13.1
|
|
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="7a28fc70155ac2d30700376661f9b4d7b6eedb8166cca3389b3d8afbb00d99ca2d219e47269fbbfc47e0045644456b93a0e6bd384004aa429cd9091af36817ed 1.13.1.zip"
|
|
|