diff options
author | Maxim Andersson | 2016-01-09 04:04:03 +0100 |
---|---|---|
committer | Maxim Andersson | 2016-01-09 04:04:03 +0100 |
commit | 826c60b0a65a864bb2143d0b67c1578f851c676a (patch) | |
tree | 071f20dab11f6906682544c1adc6d04931c9fd31 /PKGBUILD | |
parent | 237a8edbf077d519d2adea72fd025709ff1aa56f (diff) | |
download | aur-826c60b0a65a864bb2143d0b67c1578f851c676a.tar.gz |
Fix bug with update on php7
https://github.com/SSilence/selfoss/issues/731
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -3,7 +3,7 @@ pkgname=selfoss pkgver=2.14 -pkgrel=1 +pkgrel=2 pkgdesc="The new multipurpose rss reader, live stream, mashup, aggregation web application" arch=('any') url="http://selfoss.aditu.de/" @@ -24,6 +24,14 @@ install=${pkgname}.install source=("https://github.com/SSilence/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.zip") sha256sums=('23ddf9de2d5192133701576d66e45e1509b468160236e600b80d86737c1052e9') +prepare() { + cd "${srcdir}/libs" + + # Fix bug with update on php7 + sed -i 's/function floIconImage/function __construct/' floIcon.php + sed -i 's/function floIcon/function __construct/' floIcon.php +} + package() { rm -rf "${srcdir}"/{README.md,${pkgname}-${pkgver}.zip} |