wok-next annotate listpatron/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@21017 1 # SliTaz package receipt v2.
pankso@455 2
pankso@455 3 PACKAGE="listpatron"
pankso@455 4 VERSION="0.1.1"
pankso@455 5 CATEGORY="office"
al@21017 6 SHORT_DESC="GTK+2 application for maintaining lists of information"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15379 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="https://github.com/fboender/listpatron"
al@21017 10
pankso@455 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21020 12 WGET_URL="http://projects.electricmonk.nl/projects/$PACKAGE/$TARBALL" # FIXME
pankso@455 13
al@21017 14 BUILD_DEPENDS="gtk2-dev"
pascal@15379 15
al@21017 16 compile_rules() {
pankso@455 17 ./configure \
pankso@455 18 --prefix=/usr \
pankso@455 19 --libexecdir=/usr/lib/$PACKAGE \
pascal@2518 20 $CONFIGURE_ARGS &&
pascal@2518 21 make &&
al@21020 22 make DESTDIR=$install install
pankso@455 23 }
pankso@455 24
al@21017 25 genpkg_rules() {
al@21017 26 mkdir -p $fs/usr/share/applications
al@21017 27 cp -a $stuff/listpatron.desktop $fs/usr/share/applications
al@21017 28 cp -a $install/usr/bin $fs/usr
al@21017 29 cp -a $install/usr/share/pixmaps $fs/usr/share
al@21017 30 cp -a $install/usr/share/xml $fs/usr/share
al@21017 31 cd $fs/usr/share/pixmaps
al@21017 32 ln -s listpatron/icons/listpatron-col-add.png listpatron.png
al@21017 33 DEPENDS="gtk2 xorg-libXdamage"
pankso@455 34 }