mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
57 lines
1.3 KiB
Bash
57 lines
1.3 KiB
Bash
|
# $Id$
|
||
|
# Contributor: jzellner <webmaster@nebulon.de>
|
||
|
# This package provides the master branch of QtBase 5
|
||
|
|
||
|
pkgname=qtmultimedia-git
|
||
|
pkgver=20120417
|
||
|
plugrel=1
|
||
|
pkgrel=1
|
||
|
pkgdesc="The Qt5 Multimedia - current development snapshot (master branch)"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://www.qt-project.org"
|
||
|
license=('GPL3' 'LGPL')
|
||
|
|
||
|
depends=('qtbase-git' 'qtjsbackend-git' 'qtdeclarative-git')
|
||
|
optdepends=()
|
||
|
makedepends=()
|
||
|
provides=('qtmultimedia-git')
|
||
|
replaces=()
|
||
|
conflicts=()
|
||
|
options=()
|
||
|
source=()
|
||
|
md5sums=()
|
||
|
|
||
|
_gitroot="git://gitorious.org/qt/qtmultimedia.git"
|
||
|
_gitname="qtmultimedia"
|
||
|
|
||
|
build() {
|
||
|
msg "Connecting to git server...."
|
||
|
|
||
|
if [ -d ${srcdir}/$_gitname ] ; then
|
||
|
cd $_gitname
|
||
|
git reset --hard HEAD
|
||
|
git clean -fxd
|
||
|
git pull origin
|
||
|
|
||
|
msg "The local files have been updated to the current revision"
|
||
|
|
||
|
cd $srcdir/$_gitname
|
||
|
else
|
||
|
git clone $_gitroot --depth=1
|
||
|
|
||
|
cd $srcdir/$_gitname
|
||
|
fi
|
||
|
|
||
|
/opt/qt5/bin/qmake
|
||
|
|
||
|
# build qt master
|
||
|
make || return 1
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd $srcdir/$_gitname
|
||
|
|
||
|
#install everything
|
||
|
make INSTALL_ROOT=$pkgdir install
|
||
|
}
|