wok-6.x annotate adeskbar/receipt @ rev 24977
created recipe for fslint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 06 16:54:42 2022 +0100 (2022-05-06) |
parents | 22619ed9cc54 |
children |
rev | line source |
---|---|
gokhlayeh@6350 | 1 # SliTaz package receipt. |
gokhlayeh@6350 | 2 |
gokhlayeh@6350 | 3 PACKAGE="adeskbar" |
Hans-G?nter@20698 | 4 VERSION="0.5.1" |
gokhlayeh@6350 | 5 CATEGORY="system-tools" |
al@14789 | 6 SHORT_DESC="ADesk Bar - application launcher for Openbox" |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
al@14789 | 8 LICENSE="GPL3" |
al@14789 | 9 WEB_SITE="https://launchpad.net/adeskbar" |
Hans-G?nter@20698 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@14789 | 11 WGET_URL="http://download.tuxfamily.org/$PACKAGE/sources/$TARBALL" |
al@14789 | 12 |
rocky@10897 | 13 DEPENDS="python pygtk pycairo gnome-menus python-xdg" |
al@14789 | 14 SUGGESTED="python-xlib dbus-python python-pyalsaaudio" |
gokhlayeh@6350 | 15 |
pascal@24074 | 16 current_version() |
pascal@24074 | 17 { |
pascal@24074 | 18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24074 | 19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24074 | 20 } |
pascal@24074 | 21 |
gokhlayeh@6350 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6350 | 23 genpkg_rules() |
gokhlayeh@6350 | 24 { |
al@14789 | 25 mkdir -p \ |
al@14789 | 26 $fs/usr/share/adeskbar \ |
al@14789 | 27 $fs/usr/bin \ |
al@14789 | 28 $fs/usr/share/pixmaps \ |
al@14789 | 29 $fs/usr/share/applications |
gokhlayeh@6350 | 30 cp -a $src/src/* $fs/usr/share/adeskbar |
gokhlayeh@6350 | 31 cp $src/src/images/adeskbar.png $fs/usr/share/pixmaps |
gokhlayeh@6350 | 32 cp $src/adeskbar.desktop $fs/usr/share/applications |
gokhlayeh@6350 | 33 cp $src/adeskbar.sh $fs/usr/bin/adeskbar |
al@14789 | 34 chown -R root:root $fs |
al@14792 | 35 find $fs -type f -name '*.png' -exec chmod 644 \{\} \; |
gokhlayeh@6350 | 36 } |
gokhlayeh@6350 | 37 |