wok-next view unclutter/receipt @ rev 20938

Update MATE 1.20
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 05:08:11 2018 +0300 (2018-08-26)
parents 7639f09792cf
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="unclutter"
4 VERSION="8-20"
5 CATEGORY="x-window"
6 SHORT_DESC="Hides the mouse cursor in X after a period of inactivity"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="PublicDomain"
9 WEB_SITE="https://packages.debian.org/sid/unclutter"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8.orig.tar.gz"
12 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8-20.debian.tar.gz"
13 PATCH="$(basename $PATCH_URL)"
14 EXTRA_SOURCE_FILES="$PATCH"
16 DEPENDS="xorg-libX11 xorg-libxcb xorg-libXau xorg-libXdmcp"
17 BUILD_DEPENDS="xorg-xorgproto xorg-libX11-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 if [ ! -f "$SRC/$PATCH)" ]; then
23 busybox wget -O "$SRC/$PATCH" "$PATCH_URL"
24 fi
26 mkdir $src/patch
27 tar -xzf $SRC/$PATCH -C $src/patch
29 while read patchfile; do
30 patch -p1 -i $src/patch/debian/patches/$patchfile
31 done < $src/patch/debian/patches/series
33 make && make install
34 mkdir -p $install/usr/share/man/man1
35 install -m0644 $src/unclutter.man $install/usr/share/man/man1/unclutter.1
36 gzip -9 $install/usr/share/man/man1/unclutter.1
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }