From 5e6d8c71e0b9fa85af820a2e7dde4e58b85579b8 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 12 Sep 2014 16:59:06 +0200 Subject: [PATCH] New package: lumina-git-20140912 --- srcpkgs/lumina-git-devel | 1 + srcpkgs/lumina-git/template | 42 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 120000 srcpkgs/lumina-git-devel create mode 100644 srcpkgs/lumina-git/template diff --git a/srcpkgs/lumina-git-devel b/srcpkgs/lumina-git-devel new file mode 120000 index 00000000000..912fb11a9b5 --- /dev/null +++ b/srcpkgs/lumina-git-devel @@ -0,0 +1 @@ +lumina-git \ No newline at end of file diff --git a/srcpkgs/lumina-git/template b/srcpkgs/lumina-git/template new file mode 100644 index 00000000000..9f4d983b5e9 --- /dev/null +++ b/srcpkgs/lumina-git/template @@ -0,0 +1,42 @@ +# Template file for 'lumina-git' +pkgname=lumina-git +version=20140912 +revision=1 +wrksrc=lumina +hostmakedepends="qt-qmake git" +makedepends="qt-devel libXrender-devel libXcomposite-devel phonon-devel libXdamage-devel" +depends="fluxbox numlockx xbacklight alsa-utils acpi xscreensaver oxygen-icons" +short_desc="Lumina Desktop Environment" +maintainer="Christian Neukirchen " +license="BSD" +homepage="https://github.com/pcbsd/lumina" + +do_fetch() { + git clone git://github.com/pcbsd/lumina.git +} + +pre_configure() { + for f in debian/patches/*.diff; do + patch -Np1 <$f + done + sed -i s/lrelease-qt4/lrelease/ */*.pro + sed -i 's|/usr/local/|/usr/|g' */*.cpp */*.desktop */*.h */*/*.h lumina-desktop/fluxboxconf/fluxbox-init-rc +} + +do_configure() { + qmake "QMAKE_CXXFLAGS+=-I/usr/include/KDE" +} + +do_install() { + make INSTALL_ROOT=${DESTDIR} install + vlicense LICENSE +} + +lumina-git-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + } +}