wok-next view tint2/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents 8fb25de2cba7
children 241675069a75
line source
1 # SliTaz package receipt.
3 PACKAGE="tint2"
4 VERSION="0.12.2"
5 CATEGORY="misc"
6 SHORT_DESC="Lightweight panel/taskbar for Linux"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://gitlab.com/o9000/tint2"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/repository/archive.tar.gz?ref=$VERSION"
12 BRANCH="$VERSION"
13 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
14 TAGS="desktop panel taskbar"
16 DEPENDS="gtk+ imlib2 librsvg startup-notification"
17 BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \
18 librsvg-dev xorg-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cp -af $stuff/get_version.sh $src
24 export VERSION
26 mkdir build && cd build &&
27 cmake \
28 -DCMAKE_INSTALL_PREFIX=/usr \
29 $ARCH_ARGS .. &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 # Use custom configured theme instead
38 cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc
40 rm -r $fs/usr/share/doc $fs/usr/share/man
41 }