wok-current view unclutter/receipt @ rev 24107
updated adminer (4.7.5 -> 4.8.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Sep 25 17:50:51 2021 +0100 (2021-09-25) |
parents | 25f8eb393142 |
children | b78e79c31b1f |
line source
1 # SliTaz package receipt.
3 PACKAGE="unclutter"
4 VERSION="8"
5 PATCHLEVEL="20"
6 CATEGORY="x-window"
7 SHORT_DESC="Hides the mouse cursor in X after a period of inactivity"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="PublicDomain"
10 WEB_SITE="https://packages.debian.org/sid/unclutter"
11 TARBALL="$PACKAGE-${VERSION}_$PATCHLEVEL.tar.gz"
12 WGET_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_$VERSION.orig.tar.gz"
13 PATCH_URL="http://http.debian.net/debian/pool/main/u/unclutter/unclutter_${VERSION}-$PATCHLEVEL.debian.tar.gz"
14 PATCH="$(basename $PATCH_URL)"
15 EXTRA_SOURCE_FILES="$PATCH"
17 DEPENDS="xorg-libX11 libxcb xorg-libXau xorg-libXdmcp"
18 BUILD_DEPENDS=""
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 if [ ! -f "$SRC/$PATCH)" ]; then
24 busybox wget -O "$SRC/$PATCH" "$PATCH_URL"
25 fi
27 mkdir $src/patch
28 tar -xzf $SRC/$PATCH -C $src/patch
30 while read patchfile; do
31 patch -p1 -i $src/patch/debian/patches/$patchfile
32 done < $src/patch/debian/patches/series
34 make && make install
35 mkdir -p $install/usr/share/man/man1
36 install -m0644 $src/unclutter.man $install/usr/share/man/man1/unclutter.1
37 gzip -9 $install/usr/share/man/man1/unclutter.1
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 }