wok-next annotate unclutter/receipt @ rev 21585

updated deluge (1.3.15 -> 2.0.3)
author Hans-G?nter Theisgen
date Tue Jun 23 16:59:31 2020 +0100 (2020-06-23)
parents d5aab818505e
children
rev   line source
al@18872 1 # SliTaz package receipt.
al@18872 2
al@18872 3 PACKAGE="unclutter"
al@18872 4 VERSION="8-20"
al@18872 5 CATEGORY="x-window"
al@18872 6 SHORT_DESC="Hides the mouse cursor in X after a period of inactivity"
al@18872 7 MAINTAINER="al.bobylev@gmail.com"
al@18872 8 LICENSE="PublicDomain"
al@18872 9 WEB_SITE="https://packages.debian.org/sid/unclutter"
al@21020 10
al@18872 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18872 12 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8.orig.tar.gz"
al@18872 13 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8-20.debian.tar.gz"
al@18872 14 PATCH="$(basename $PATCH_URL)"
pascal@18930 15 EXTRA_SOURCE_FILES="$PATCH"
al@18872 16
al@21078 17 BUILD_DEPENDS="xorgproto libx11-dev"
al@18872 18
al@21020 19 compile_rules() {
al@18872 20 if [ ! -f "$SRC/$PATCH)" ]; then
al@18872 21 busybox wget -O "$SRC/$PATCH" "$PATCH_URL"
al@18872 22 fi
al@18872 23
al@18872 24 mkdir $src/patch
al@18872 25 tar -xzf $SRC/$PATCH -C $src/patch
al@18872 26
al@18872 27 while read patchfile; do
al@18872 28 patch -p1 -i $src/patch/debian/patches/$patchfile
al@18872 29 done < $src/patch/debian/patches/series
al@18872 30
al@21020 31 make &&
al@21020 32 make install || return 1
al@21020 33
al@18872 34 mkdir -p $install/usr/share/man/man1
al@18872 35 install -m0644 $src/unclutter.man $install/usr/share/man/man1/unclutter.1
al@18872 36 }
al@18872 37
al@21020 38 genpkg_rules() {
al@18872 39 cp -a $install/* $fs
al@21078 40 DEPENDS="libx11 libxcb libxau libxdmcp"
al@18872 41 }