wok view oxygen-gtk/receipt @ rev 25102
Use archive.org for some broken wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 21 16:00:20 2022 +0000 (2022-06-21) |
parents | 6c19de92f594 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="oxygen-gtk"
4 VERSION="1.4.6"
5 CATEGORY="customization"
6 SHORT_DESC="A port of the default KDE widget theme (Oxygen) to GTK."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://projects.kde.org/projects/playground/artwork/oxygen-gtk"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 BRANCH="$VERSION"
13 WGET_URL="git|git://anongit.kde.org/oxygen-gtk"
15 DEPENDS="atk bzlib cairo fontconfig freetype gcc-lib-base gdk-pixbuf glib \
16 glibc-base gtk+ libffi libgio libxml2 pango pcre xorg-libX11 zlib"
17 BUILD_DEPENDS="cmake git gtk+-dev xorg-libX11-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - 'https://invent.kde.org/plasma/oxygen-gtk/-/tags?sort=updated_desc' 2>/dev/null | \
23 sed '/-\/tags\/v[0-9]/!d;s|.*tags/v||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build
30 cd build
31 cmake .. &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cp -a $install/* $fs
40 }