wok-current view arandr/receipt @ rev 25368

libmpd: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 29 10:44:25 2022 +0000 (2022-07-29)
parents 2c74083aac19
children
line source
1 # SliTaz package receipt.
3 PACKAGE="arandr"
4 VERSION="0.1.9"
5 CATEGORY="x-window"
6 SHORT_DESC="GTK+ interface for Xrandr."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://christian.amsuess.com/tools/arandr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 DEPENDS="pygtk python xorg-xrandr"
15 BUILD_DEPENDS="pygtk-dev python-docutils xorg-xrandr"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }