New package: lumina-git-20140912

This commit is contained in:
Christian Neukirchen 2014-09-12 16:59:06 +02:00
parent 7e7ca05064
commit 5e6d8c71e0
2 changed files with 43 additions and 0 deletions

1
srcpkgs/lumina-git-devel Symbolic link
View File

@ -0,0 +1 @@
lumina-git

View File

@ -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 <chneukirchen@gmail.com>"
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"
}
}