wok-next view tint2/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tint2"
4 VERSION="16.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Lightweight panel/taskbar for Linux"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.com/o9000/tint2"
11 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
12 WGET_URL="https://gitlab.com/o9000/tint2/-/archive/v$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake xorg-libX11-dev xorg-libXcomposite-dev \
15 xorg-libXdamage-dev xorg-libXinerama-dev xorg-libXext-dev xorg-libXrender-dev \
16 xorg-libXrandr-dev pango-dev imlib2-dev librsvg-dev startup-notification-dev \
17 gtk2-dev gettext-dev"
19 compile_rules() {
20 mkdir build
21 cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DCMAKE_INSTALL_SYSCONFDIR=/etc \
25 -DCMAKE_INSTALL_LIBDIR=lib \
26 -DCMAKE_BUILD_TYPE=Release \
27 -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
28 -DCMAKE_C_FLAGS="$CFLAGS" \
29 .. &&
30 make &&
31 make install || return 1
33 # Use custom configured theme instead
34 # (but I'm unsure config from v.0 will be OK for v.16)
35 mv $install/etc/xdg/tint2/tint2rc $install/etc/xdg/tint2/tint2rc.orig
36 install -Dm644 $stuff/tint2rc $install/etc/xdg/tint2/tint2rc
37 }
39 genpkg_rules() {
40 copy @std
41 DEPENDS="cairo gdk-pixbuf glib gtk2 imlib2 librsvg pango \
42 startup-notification xorg-libX11 xorg-libXcomposite xorg-libXdamage \
43 xorg-libXext xorg-libXinerama xorg-libXrandr xorg-libXrender"
44 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
45 TAGS="desktop panel taskbar"
46 }