SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "zim"

# SliTaz package receipt.

PACKAGE="zim"
VERSION="0.65"
CATEGORY="utilities"
SHORT_DESC="A desktop wiki."
MAINTAINER="gokhlayeh@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://zim-wiki.org/"
WGET_URL="https://zim-wiki.org/downloads/$TARBALL"
TAGS="wiki notebook"

DEPENDS="python pygtk pygobject python-simplejson python-xdg \
desktop-file-utils shared-mime-info xdg-utils"
BUILD_DEPENDS="$DEPENDS pycairo-dev pygobject-dev pygtk-dev python-dev"

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

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

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