wok-next annotate lxappearance/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
rev   line source
al@19812 1 # SliTaz package receipt v2.
pankso@510 2
pankso@510 3 PACKAGE="lxappearance"
al@19812 4 VERSION="0.6.3"
pankso@510 5 CATEGORY="x-window"
al@17992 6 SHORT_DESC="LXDE GTK+ theme switcher"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@19893 9 WEB_SITE="https://wiki.lxde.org/en/LXAppearance"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/lxappearance.html"
al@19812 11
pankso@16261 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
pankso@510 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
al@13719 14
al@21017 15 BUILD_DEPENDS="intltool xorg-libX11-dev gtk2-dev dbus-dev dbus-glib-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pankso@510 17
al@20534 18 compile_rules() {
al@19812 19 # remove keywords from desktop file
al@19812 20 sed -i '/^_Keywords/d' $src/data/lxappearance.desktop.in
al@19812 21
pankso@16261 22 ./configure \
al@19812 23 --enable-dbus \
pankso@16261 24 $CONFIGURE_ARGS &&
al@20534 25 make &&
al@20534 26 make install
pankso@510 27 }
pankso@510 28
al@20534 29 genpkg_rules() {
al@19812 30 TAGS="LXDE"
al@19812 31 case $PACKAGE in
al@19812 32 lxappearance)
al@19812 33 copy @std
al@19812 34 DEPENDS="atk cairo dbus dbus-glib fontconfig freetype gdk-pixbuf \
al@21017 35 glib gtk2 pango xorg-libX11"
al@19812 36 ;;
al@19812 37 *-dev)
al@19812 38 copy @dev
al@21017 39 DEPENDS="lxappearance glib-dev gtk2-dev"
al@19812 40 ;;
al@19812 41 esac
pankso@510 42 }