fa4513bdbf
Added py-idna-2.6-2.6-0
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
# Maintainer: Antoine Martin <antoine@ayakael.net>
|
|
|
|
pkgname=freshrss
|
|
pkgver=1.11.1
|
|
pkgrel=4
|
|
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="b0316ecbbfc3aebb20c9e47083292f07e356f468fda92641a4fefb9968df9304e7a663ba8f8a5a1f5f740c7a7e8a12999ec20611caabb3449407bbeb7bf1b27b 1.11.1.zip"
|
|
|