wok-next view unclutter/receipt @ rev 21524
updated blueman (1.10 -> 2.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 14:10:41 2020 +0100 (2020-06-19) |
parents | d5aab818505e |
children |
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"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8.orig.tar.gz"
13 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_8-20.debian.tar.gz"
14 PATCH="$(basename $PATCH_URL)"
15 EXTRA_SOURCE_FILES="$PATCH"
17 BUILD_DEPENDS="xorgproto libx11-dev"
19 compile_rules() {
20 if [ ! -f "$SRC/$PATCH)" ]; then
21 busybox wget -O "$SRC/$PATCH" "$PATCH_URL"
22 fi
24 mkdir $src/patch
25 tar -xzf $SRC/$PATCH -C $src/patch
27 while read patchfile; do
28 patch -p1 -i $src/patch/debian/patches/$patchfile
29 done < $src/patch/debian/patches/series
31 make &&
32 make install || return 1
34 mkdir -p $install/usr/share/man/man1
35 install -m0644 $src/unclutter.man $install/usr/share/man/man1/unclutter.1
36 }
38 genpkg_rules() {
39 cp -a $install/* $fs
40 DEPENDS="libx11 libxcb libxau libxdmcp"
41 }