SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "arandr"

# SliTaz package receipt.

PACKAGE="arandr"
VERSION="0.1.9"
CATEGORY="x-window"
SHORT_DESC="GTK+ interface for Xrandr."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://christian.amsuess.com/tools/arandr/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="${WEB_SITE}files/$TARBALL"

DEPENDS="pygtk python xorg-xrandr"
BUILD_DEPENDS="pygtk-dev python-docutils xorg-xrandr"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)