wok-current view gtk-theme-bluebird/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtk-theme-bluebird"
4 VERSION="1.3"
5 CATEGORY="customization"
6 SHORT_DESC="A GTK+2 and GTK+3 theme from the Shimmer Project."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 CC-BY-SA-3"
9 WEB_SITE="https://github.com/shimmerproject/Bluebird"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/shimmerproject/Bluebird/archive/v$VERSION.tar.gz"
14 DEPENDS="gtk2-engine-murrine"
16 HOST_ARCH="any"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 patch -p1 -i $stuff/define-sizes.patch
30 dos2unix $src/gtk-2.0/bars.rc
31 dos2unix $src/gtk-2.0/gtkrc
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 T='/usr/share/themes/Bluebird'
38 mkdir -p $fs/$T
40 cp -a $src/gtk-2.0 $fs/$T
41 cp -a $src/gtk-3.0 $fs/$T
42 }