Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

qt5-qt3d: add qt3d PKGBUILD

Signed-off-by: Sergio Correia <sergio.correia@uece.net>
  • Loading branch information...
commit c036ae63078c1bcb81fa555928197b58b9ac2008 1 parent f0b353e
Sergio Correia authored
Showing with 37 additions and 0 deletions.
  1. +37 −0 qt5-qt3d-git/PKGBUILD
View
37 qt5-qt3d-git/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Sergio Correia <sergio.correia@uece.net>
+
+pkgname=qt5-qt3d-git
+pkgver=20121004
+pkgrel=1
+pkgdesc="Qt 5: qt3d module"
+groups=('qt5' 'qt5-addons')
+arch=('i686' 'x86_64' 'armv6h')
+url="https://qt.gitorious.org/qt/qt3d"
+license=('LGPL')
+depends=('qt5-qtbase-git' 'qt5-qtdeclarative-git')
+makedepends=('git')
+options=('!libtool')
+source=()
+md5sums=()
+
+_gitroot="git://gitorious.org/qt/qt3d.git"
+_gitname=qt5-qt3d
+
+build() {
+ if [ ! -d "${_gitname}" ]; then
+ git clone ${_gitroot} ${_gitname} && cd ${_gitname}
+ else
+ cd ${_gitname} && git reset --hard && git pull origin && git clean -dfx
+ fi
+
+ msg "GIT checkout done."
+
+ /opt/qt5/bin/qmake
+ make
+}
+
+package() {
+ cd "${_gitname}"
+
+ make INSTALL_ROOT="${pkgdir}" install
+}
Please sign in to comment.
Something went wrong with that request. Please try again.