diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -2,11 +2,11 @@ pkgname='wxparaver' pkgdesc='Expressive powerful and flexible trace visualizer for post-mortem trace analysis (from BSC).' pkgver='4.8.1' -pkgrel='3' +pkgrel='4' arch=('i686' 'x86_64') url='https://www.bsc.es/discover-bsc/organisation/scientific-structure/performance-tools' license=('LGPLv2.1') -depends=('wxgtk3' 'webkit2gtk' 'boost') +depends=(wxgtk3 webkit2gtk boost libxml2 zlib) source=("https://ftp.tools.bsc.es/$pkgname/$pkgname-$pkgver-src.tar.bz2" "wxParaver.desktop") sha512sums=(80481fc75b977f85476658e25e9d091530f64f1b04b15d826715fb5e9646c33c14e46ef8d5233f1b57c442895cf96206b8812bded482f58dce76888745cc88e6 @@ -15,10 +15,11 @@ sha512sums=(80481fc75b977f85476658e25e9d091530f64f1b04b15d826715fb5e9646c33c14e4 prepare() { cd "$srcdir/$pkgname-$pkgver" - # FIXME: By default, it seems that the wxParaver depends on an existing -kernel/-api installation + # WORKAROUND: By default, it seems that the wxParaver depends on an existing -kernel/-api installation cd src/wxparaver sed -i 's|-lparaver-kernel -lparaver-api|-L../../paraver-kernel/src/.libs -L../../paraver-kernel/api/.libs -lparaver-kernel -lparaver-api|g' src/Makefile.am - sed -i 's|^wxparaver_bin_CXXFLAGS =.*|& -I../../paraver-kernel -I../../paraver-kernel/api|' src/Makefile.am + sed -i 's|^wxparaver_bin_CXXFLAGS =.*|& -I../../paraver-kernel -I../../paraver-kernel/api|' src/Makefile.am + autoreconf -i -f } @@ -38,6 +39,7 @@ package() { make DESTDIR="$pkgdir/" install + # Create a shortcut to execute the application easily from the user's desktop environment mkdir -p "$pkgdir/usr/share/applications" install -o root -g root -m 644 "$srcdir/wxParaver.desktop" "$pkgdir/usr/share/applications/wxParaver.desktop" }
\ No newline at end of file |