wok annotate paper-gtk-theme/receipt @ rev 25122
Up apache (2.4.54)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 08:48:09 2022 +0000 (2022-06-28) |
parents | 5ea0ce1cecc0 |
children | 0262035dc1e7 |
rev | line source |
---|---|
al@19013 | 1 # SliTaz package receipt. |
al@19013 | 2 |
al@19013 | 3 PACKAGE="paper-gtk-theme" |
Hans-G?nter@25089 | 4 VERSION="2.1.0" |
al@19126 | 5 CATEGORY="customization" |
Hans-G?nter@25089 | 6 SHORT_DESC="Modern desktop theme suite." |
al@19013 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19013 | 8 LICENSE="GPL3" |
al@19013 | 9 WEB_SITE="https://snwh.org/paper/" |
Hans-G?nter@25089 | 10 |
al@19013 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@25089 | 12 WGET_URL="https://github.com/snwh/$PACKAGE/archive/v$VERSION/$TARBALL" |
Hans-G?nter@25089 | 13 |
al@19114 | 14 HOST_ARCH="any" |
al@19013 | 15 |
al@19530 | 16 DEPENDS="gtk2-engine-murrine" |
al@19013 | 17 BUILD_DEPENDS="autoconf automake" |
al@19013 | 18 |
pascal@24055 | 19 current_version() |
pascal@24055 | 20 { |
pascal@24055 | 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 23 } |
pascal@24055 | 24 |
al@19013 | 25 # Rules to configure and make the package. |
al@19013 | 26 compile_rules() |
al@19013 | 27 { |
al@19013 | 28 chmod a+x autogen.sh |
al@19013 | 29 ./autogen.sh && |
Hans-G?nter@25089 | 30 make && |
Hans-G?nter@25089 | 31 make install |
al@19013 | 32 } |
al@19013 | 33 |
al@19013 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19013 | 35 genpkg_rules() |
al@19013 | 36 { |
Hans-G?nter@25089 | 37 cp -a $install/* $fs |
al@19013 | 38 } |