diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ pkgname=zenmonitor pkgver=1.4.0 -pkgrel=1 +pkgrel=2 pkgdesc='Zen monitor is monitoring software for AMD Zen-based CPUs' arch=('x86_64' 'i686') url='https://github.com/ocerman/zenmonitor' @@ -20,6 +20,9 @@ prepare() { sed -i 's/@APP_EXEC@|${DESTDIR}/@APP_EXEC@|/g' makefile # Add icon to desktop file sed -zi 's/Icon=.*\|$/Icon=utilities-system-monitor\n/' data/zenmonitor.desktop.in + + # Temporary fix until makefile is patched, add -fcommon to compile flags since $CFLAGS is not used + sed -i '/\scc /s/$/ -fcommon/' makefile } build() { |