1 # Contributor:Tutku Dalmaz <tutkudalmaz@gmail.com>
2 # Maintainer:Laszlo Papp <djszapi2 at gmail com>
6 pkgdesc="Environment for the Xilinx PicoBlaze-3 soft-core processor for the KDE Desktop"
8 url="http://www.xs4all.nl/~marksix/index.html"
10 depends=('kdelibs3' 'hicolor-icon-theme')
11 install=$pkgname.install
12 source=("http://www.xs4all.nl/~marksix/downloads/$pkgname-$pkgver.tar.gz")
13 md5sums=('516745ac092e1d3a460232a4f4227897')
16 cd ${srcdir}/${pkgname}
17 export KDEDIRS=${pkgdir}/usr:/opt/kde
18 ln -sf /usr/bin/aclocal /usr/bin/aclocal-1.9
19 ln -sf /usr/bin/automake /usr/bin/automake-1.9
20 ./configure --prefix=${pkgdir}/usr --without-arts --with-qt-dir=/opt/qt \
21 --with-qt-includes=/opt/qt/includes --with-qt-libraries=/opt/qt/lib \
24 sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
25 sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
27 make install || return 1
28 rm -rf ${pkgdir}/usr/share/doc/HTML/en/kpicosim/common /usr/bin/aclocal-1.9 /usr/bin/automake-1.9