wok annotate tint2/receipt @ rev 23889

created get-anydesk
author Hans-G?nter Theisgen
date Fri Jul 24 11:12:22 2020 +0100 (2020-07-24)
parents d504756dc474
children dc0f7fd1ff7d
rev   line source
jozee@2766 1 # SliTaz package receipt.
jozee@2766 2
jozee@2766 3 PACKAGE="tint2"
al@18538 4 VERSION="0.12.2"
jozee@2766 5 CATEGORY="misc"
al@18538 6 SHORT_DESC="Lightweight panel/taskbar for Linux"
jozee@2766 7 MAINTAINER="jozee@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@18538 9 WEB_SITE="https://gitlab.com/o9000/tint2"
al@18538 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18538 11 WGET_URL="$WEB_SITE/repository/archive.tar.gz?ref=$VERSION"
al@18538 12 BRANCH="$VERSION"
rocky@3576 13 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
jozee@4973 14 TAGS="desktop panel taskbar"
al@18538 15 #HOST_ARCH="i486 arm"
jozee@2766 16
al@18538 17 DEPENDS="gtk+ imlib2 librsvg startup-notification"
al@18538 18 BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \
al@18538 19 librsvg-dev"
pankso@9854 20
jozee@2766 21 # Rules to configure and make the package.
jozee@2766 22 compile_rules()
jozee@2766 23 {
al@18538 24 cp -af $stuff/get_version.sh $src
al@18538 25 export VERSION
al@18538 26
al@18538 27 mkdir build && cd build &&
al@18538 28 cmake \
pankso@16169 29 -DCMAKE_INSTALL_PREFIX=/usr \
pankso@16169 30 $ARCH_ARGS .. &&
al@18538 31 make && make install
jozee@2766 32 }
jozee@2766 33
jozee@2766 34 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2766 35 genpkg_rules()
jozee@2766 36 {
al@18538 37 cp -a $install/* $fs
al@18538 38 # Use custom configured theme instead
al@18538 39 cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc
al@18538 40
al@18538 41 rm -r $fs/usr/share/doc $fs/usr/share/locale $fs/usr/share/man
jozee@2766 42 }