wok-6.x annotate xcursor-human/receipt @ rev 18086
Rebuild Python packages to remove "*.pyc" files from packages files.lists (part last)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 23 16:17:14 2015 +0300 (2015-05-23) |
parents | |
children | 40fab26c175d |
rev | line source |
---|---|
al@18055 | 1 # SliTaz package receipt. |
al@18055 | 2 |
al@18055 | 3 PACKAGE="xcursor-human" |
al@18055 | 4 VERSION="0.6" |
al@18055 | 5 CATEGORY="x-window" |
al@18055 | 6 SHORT_DESC="Human cursor theme" |
al@18055 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18055 | 8 LICENSE="CC-ASA" |
al@18055 | 9 WEB_SITE="https://launchpad.net/human-cursors-theme/" |
al@18055 | 10 TARBALL="human-cursors-theme_$VERSION.tar.gz" |
al@18055 | 11 WGET_URL="https://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL" |
al@18055 | 12 TAGS="cursor-theme" |
al@18055 | 13 |
al@18055 | 14 DEPENDS="xorg-libXcursor" |
al@18055 | 15 BUILD_DEPENDS="wget cacerts python symlinks" |
al@18055 | 16 |
al@18055 | 17 # Rules to configure and make the package. |
al@18055 | 18 compile_rules() |
al@18055 | 19 { |
al@18055 | 20 python setup.py install --prefix=/usr --root="$install" --optimize=1 |
al@18055 | 21 rm -rf "$install/usr/lib" |
al@18055 | 22 . $stuff/symdup.sh |
al@18055 | 23 } |
al@18055 | 24 |
al@18055 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18055 | 26 genpkg_rules() |
al@18055 | 27 { |
al@18055 | 28 cp -a $install/* $fs |
al@18055 | 29 rm -r $fs/usr/share/themes |
al@18055 | 30 cp $stuff/index.theme $fs/usr/share/icons/Human |
al@18055 | 31 } |