wok view slitaz-polar-cursors/receipt @ rev 24230

updated perl-json (4.02 -> 4.04)
author Hans-G?nter Theisgen
date Sun Jan 02 06:47:59 2022 +0100 (2022-01-02)
parents 40fab26c175d
children
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-polar-cursors"
4 VERSION="1.0"
5 CATEGORY="customization"
6 SHORT_DESC="SliTaz cursor theme based on Polar Cursor Theme"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL=$PACKAGE-$VERSION.tar.gz
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL"
12 HOST_ARCH="i486 arm"
14 BUILD_DEPENDS="xorg-xcursorgen"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src/Source
26 ./Build.sh && cd ..
27 mkdir -p $DESTDIR/usr/share/icons/slitaz-polar
28 cp index.theme $DESTDIR/usr/share/icons/slitaz-polar
29 cp -a Source/cursors $DESTDIR/usr/share/icons/slitaz-polar
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/icons
36 cp -a stuff/default $fs/usr/share/icons
37 cp -a $install/* $fs
38 chown -R root.root $fs
39 }