diff --git a/srcpkgs/qtchooser/files/4.conf b/srcpkgs/qtchooser/files/4.conf new file mode 100644 index 0000000000..bcd76decb6 --- /dev/null +++ b/srcpkgs/qtchooser/files/4.conf @@ -0,0 +1,2 @@ +/usr/lib/qt/bin +/usr/lib diff --git a/srcpkgs/qtchooser/files/5.conf b/srcpkgs/qtchooser/files/5.conf new file mode 100644 index 0000000000..edaadebd82 --- /dev/null +++ b/srcpkgs/qtchooser/files/5.conf @@ -0,0 +1,2 @@ +/usr/lib/qt5/bin +/usr/lib diff --git a/srcpkgs/qtchooser/template b/srcpkgs/qtchooser/template new file mode 100644 index 0000000000..8d7be57905 --- /dev/null +++ b/srcpkgs/qtchooser/template @@ -0,0 +1,21 @@ +# Template file for 'qtchooser' +pkgname=qtchooser +version=20141130 +revision=1 +build_style=gnu-makefile +hostmakedepends="git" +short_desc="A QT version chooser" +maintainer="Juan RP " +license="GPL-2" +homepage="http://qt.gitorious.org/qt/qtchooser" + +do_fetch() { + git clone git://gitorious.org/qt/qtchooser.git ${wrksrc} +} +do_install() { + make INSTALL_ROOT=${DESTDIR} install + + vmkdir etc/xdg/qtchooser + vinstall ${FILESDIR}/4.conf 644 etc/xdg/qtchooser + vinstall ${FILESDIR}/5.conf 644 etc/xdg/qtchooser +}