wok-current view lxqt-common/receipt @ rev 17949
pciids: up (20150414).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 16 02:29:06 2015 +0300 (2015-04-16) |
parents | bdcd8803b305 |
children | 9b3667c444af |
line source
1 # SliTaz package receipt.
3 PACKAGE="lxqt-common"
4 VERSION="0.8.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.xz"
11 WGET_URL="http://lxqt.org/downloads/$VERSION/$TARBALL"
12 TAGS="LXQt window-manager"
14 # TODO: add more depends
15 DEPENDS="xorg-xprop dbus "
16 BUILD_DEPENDS="cmake Qt4-dev qmake liblxqt-dev grep libqtxdg-dev"
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 }