mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
32 lines
911 B
Bash
32 lines
911 B
Bash
# $Id: PKGBUILD 27111 2009-02-16 06:06:08Z eric $
|
|
# Maintainer: Juergen Hoetzel <travis@archlinux.org>
|
|
# Contributor: kleptophobiac@gmail.com
|
|
|
|
pkgname=mythphone
|
|
pkgver=0.21
|
|
pkgrel=1
|
|
pkgdesc="Plugin that allows phone calls to be made to MythTv"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.mythtv.org"
|
|
license=('GPL')
|
|
depends=("mythtv>=${pkgver}")
|
|
source=("ftp://ftp.osuosl.org/pub/mythtv/mythplugins-$pkgver.tar.bz2")
|
|
md5sums=('6c08043227bef1384858deee12b5cdc3')
|
|
groups=('mythtv-extras')
|
|
|
|
build() {
|
|
cd $startdir/src/mythplugins-${pkgver}
|
|
. /etc/profile.d/qt3.sh
|
|
|
|
# use QT3 qmake
|
|
export PATH=$QTDIR/bin:$PATH
|
|
./configure --prefix=/usr --enable-opengl --disable-all --enable-mythphone || return 1
|
|
|
|
qmake mythplugins.pro || return 1
|
|
make qmake || return 1
|
|
sed -i 's#kde3#kde#' ./mythphone/mythphone/Makefile || return 1
|
|
make -j 2 || return 1
|
|
|
|
make INSTALL_ROOT=$startdir/pkg install
|
|
}
|
|
|