updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / kpicosim / PKGBUILD
blob18c000ba38b0e38964cf60ecd4713fd1e454a132
1 # Contributor:Tutku Dalmaz <tutkudalmaz@gmail.com>
2 # Maintainer:Laszlo Papp <djszapi2 at gmail com>
3 pkgname=kpicosim
4 pkgver=0.7
5 pkgrel=5
6 pkgdesc="Environment for the Xilinx PicoBlaze-3 soft-core processor for the KDE Desktop"
7 arch=('i686')
8 url="http://www.xs4all.nl/~marksix/index.html"
9 license=('GPL')
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')
15 build() {
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 \
22   --disable-rpath
23   # rpath removal
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
26   make || return 1
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