# # Apps Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # maintainer: Neo Kolokotronis pkgname=qsopcast pkgver=0.3.8.1 pkgrel=1 pkgdesc="A Qt front-end to p2p TV sopcast" arch=('i686' 'x86_64') url="http://code.google.com/p/qsopcast" license=('GPL2') depends=('qt' 'sopcast') source=(http://qsopcast.googlecode.com/files/$pkgname-$pkgver-qt4.tar.bz2 qsopcast.desktop) md5sums=('aaf3e0e6afbca47f0ec0eb0c2a502b7a' 'a71644b610b05443f011e774dbeb0804') build() { cd $srcdir/$pkgname-$pkgver-qt4/src export PATH=$QTDIR/bin:$PATH export QMAKESPEC=/usr/share/qt/mkspecs/linux-g++ sed -i "s:/usr/local:/usr:g" qsopcast.pro main.cpp qmake || return 1 sed -i "s:/usr/X11R6/:/usr/:g" Makefile make || return 1 } package() { cd $srcdir/$pkgname-$pkgver-qt4/src make INSTALL_ROOT=$pkgdir install install -D -m644 ../../qsopcast.desktop $pkgdir/usr/share/applications/qsopcast.desktop install -D -m644 icons/mozart.xpm $pkgdir/usr/share/pixmaps/qsopcast.xpm rm -f "${pkgdir}/usr/bin/sp-sc" }