wok annotate oxygen-gtk/receipt @ rev 25794

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