wok-next view lxqt-common/receipt @ rev 16833

Add LXQt (now in beta state, need to review most of packages).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 12 15:16:10 2014 +0300 (2014-07-12)
parents
children bdcd8803b305
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-common"
4 VERSION="0.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Common files for LXQt"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/lxde/lxqt-common"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/lxde/$PACKAGE/archive/$VERSION.tar.gz"
12 TAGS="LXQt"
14 # TODO: add more depends
15 DEPENDS="xorg-xprop dbus "
16 BUILD_DEPENDS="wget cacerts cmake Qt4-dev qmake liblxqt-dev grep"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build; cd build
22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
23 make &&
24 make DESTDIR=$install install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/etc $fs
32 cd $fs; patch -p0 < $stuff/settings.diff
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/share $fs/usr
35 # all themes but 'flat' go to 'lxqt-themes'
36 rm -rf $fs/usr/share/lxqt/themes/*
37 cp -a $install/usr/share/lxqt/themes/flat $fs/usr/share/lxqt/themes
38 }