Added freshrss-1.11.1-3

This commit is contained in:
ayakael 2018-08-29 16:36:43 -04:00
parent 2def4f8734
commit f3480f84f5
No known key found for this signature in database
GPG key ID: 575626A4AE5F4026

View file

@ -2,7 +2,7 @@
pkgname=freshrss
pkgver=1.11.1
pkgrel=2
pkgrel=3
pkgdesc="FreshRSS is a self-hosted RSS feed aggregator"
arch='noarch'
url="http://freshrss.org"
@ -18,10 +18,11 @@ build() {
package() {
cd ${builddir}
install -d "${pkgdir}/usr/share/webapps/${pkgname}"
mkdir "${pkgdir}/var/lib/freshrss"
mkdir -p "${pkgdir}/var/lib/freshrss"
cp -r ./data/. "${pkgdir}/var/lib/${pkgname}/"
cp -r . "${pkgdir}/usr/share/webapps/${pkgname}/"
rmdir "${pkgdir}/usr/share/webapps/${pkgname}/freshrss"
ln -s "${pkgdir}/var/lib/freshrss" "${pkgdir}/usr/share/webapps/${pkgname}/"
rm -R "${pkgdir}/usr/share/webapps/${pkgname}/data"
ln -s "/var/lib/freshrss" "${pkgdir}/usr/share/webapps/${pkgname}/data"
}
sha512sums="b0316ecbbfc3aebb20c9e47083292f07e356f468fda92641a4fefb9968df9304e7a663ba8f8a5a1f5f740c7a7e8a12999ec20611caabb3449407bbeb7bf1b27b 1.11.1.zip"