wok-next annotate tint2/receipt @ rev 20462

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 06 03:00:01 2018 +0200 (2018-03-06)
parents 8fb25de2cba7
children 241675069a75
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"
jozee@2766 15
al@18538 16 DEPENDS="gtk+ imlib2 librsvg startup-notification"
al@18538 17 BUILD_DEPENDS="cmake pango-dev imlib2-dev gtk+-dev startup-notification-dev \
pascal@19890 18 librsvg-dev xorg-dev"
pankso@9854 19
jozee@2766 20 # Rules to configure and make the package.
jozee@2766 21 compile_rules()
jozee@2766 22 {
al@18538 23 cp -af $stuff/get_version.sh $src
al@18538 24 export VERSION
al@18538 25
al@18538 26 mkdir build && cd build &&
al@18538 27 cmake \
pankso@16169 28 -DCMAKE_INSTALL_PREFIX=/usr \
pankso@16169 29 $ARCH_ARGS .. &&
al@18538 30 make && make install
jozee@2766 31 }
jozee@2766 32
jozee@2766 33 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2766 34 genpkg_rules()
jozee@2766 35 {
al@18538 36 cp -a $install/* $fs
al@18538 37 # Use custom configured theme instead
al@18538 38 cp -f $stuff/tint2rc $fs/etc/xdg/tint2/tint2rc
al@18538 39
pascal@19890 40 rm -r $fs/usr/share/doc $fs/usr/share/man
jozee@2766 41 }