lib32/qsopcast/PKGBUILD

36 lines
1.2 KiB
Bash
Raw Permalink Normal View History

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dot]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: Neo Kolokotronis <tetris4@gmail.com>
pkgname=qsopcast
2014-01-11 21:05:58 +08:00
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)
2014-01-11 21:05:58 +08:00
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"
}