SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lxsession-edit"

# SliTaz package receipt.

PACKAGE="lxsession-edit"
VERSION="0.2.0"
CATEGORY="x-window"
SHORT_DESC="Configure what application start up automatically in LXDE"
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.lxde.org/"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/lxde/$TARBALL"
TAGS="LXDE"
HOST_ARCH="i486 arm"
GENERIC_MENUS="no"

DEPENDS="gtk+ lxsession"
BUILD_DEPENDS="gtk+-dev"

current_version()
{
    wget -O - https://sourceforge.net/projects/lxde/files/LXSession%20Edit/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed "/$PACKAGE-/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
    rm -r $fs/usr/share/locale

    sed -i 's|^Icon=.*$|Icon=session-properties|' \
        $fs/usr/share/applications/lxsession-edit.desktop
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)