wok-6.x annotate slitaz-polar-cursors/receipt @ rev 25176
updated python-formalchemy (1.5.5 -> 1.5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 17:52:21 2022 +0100 (2022-07-01) |
parents | 40fab26c175d |
children |
rev | line source |
---|---|
pankso@259 | 1 # SliTaz package receipt. |
pankso@259 | 2 |
pankso@259 | 3 PACKAGE="slitaz-polar-cursors" |
pankso@259 | 4 VERSION="1.0" |
al@19126 | 5 CATEGORY="customization" |
al@17510 | 6 SHORT_DESC="SliTaz cursor theme based on Polar Cursor Theme" |
pankso@259 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL3" |
pankso@259 | 9 TARBALL=$PACKAGE-$VERSION.tar.gz |
pankso@259 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@24074 | 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL" |
pankso@16081 | 12 HOST_ARCH="i486 arm" |
pankso@259 | 13 |
pascal@15579 | 14 BUILD_DEPENDS="xorg-xcursorgen" |
pascal@15579 | 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 |
pankso@259 | 22 # Rules to configure and make the package. |
pankso@259 | 23 compile_rules() |
pankso@259 | 24 { |
pankso@259 | 25 cd $src/Source |
pankso@259 | 26 ./Build.sh && cd .. |
pascal@15603 | 27 mkdir -p $DESTDIR/usr/share/icons/slitaz-polar |
pascal@15603 | 28 cp index.theme $DESTDIR/usr/share/icons/slitaz-polar |
pascal@15603 | 29 cp -a Source/cursors $DESTDIR/usr/share/icons/slitaz-polar |
pankso@259 | 30 } |
pankso@259 | 31 |
pankso@259 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@259 | 33 genpkg_rules() |
pankso@259 | 34 { |
pankso@259 | 35 mkdir -p $fs/usr/share/icons |
pankso@259 | 36 cp -a stuff/default $fs/usr/share/icons |
pascal@15603 | 37 cp -a $install/* $fs |
pankso@259 | 38 chown -R root.root $fs |
pankso@259 | 39 } |
pankso@259 | 40 |