wok annotate lxrandr/receipt @ rev 23606
updated ranger (1.9.2 -> 1.9.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 11 17:55:48 2020 +0100 (2020-04-11) |
parents | 6e8b1bcb30e2 |
children | d33c3c211ef8 |
rev | line source |
---|---|
gokhlayeh@5955 | 1 # SliTaz package receipt. |
gokhlayeh@5955 | 2 |
gokhlayeh@5955 | 3 PACKAGE="lxrandr" |
Hans-G?nter@23151 | 4 VERSION="0.3.2" |
gokhlayeh@5955 | 5 CATEGORY="utilities" |
Hans-G?nter@23151 | 6 TAGS="LXDE" |
Hans-G?nter@23151 | 7 SHORT_DESC="LXDE monitor configuration tool." |
gokhlayeh@7034 | 8 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15000 | 9 LICENSE="GPL2" |
Hans-G?nter@23151 | 10 WEB_SITE="https://lxde.org" |
Hans-G?nter@23151 | 11 |
psychomaniak@17509 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
gokhlayeh@5955 | 13 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
gokhlayeh@5955 | 14 |
pascal@15000 | 15 DEPENDS="gtk+ xorg-xrandr" |
pankso@16261 | 16 BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev" |
pascal@15000 | 17 |
Hans-G?nter@23151 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@23151 | 19 |
gokhlayeh@5955 | 20 # Rules to configure and make the package. |
gokhlayeh@5955 | 21 compile_rules() |
gokhlayeh@5955 | 22 { |
pankso@16261 | 23 # Fix sources. |
gokhlayeh@5955 | 24 echo "Icon=video-display" >> data/lxrandr.desktop.in |
gokhlayeh@8340 | 25 touch po/stamp-it |
Hans-G?nter@23151 | 26 |
Hans-G?nter@23151 | 27 ./configure \ |
gokhlayeh@5955 | 28 $CONFIGURE_ARGS && |
Hans-G?nter@23151 | 29 make && |
Hans-G?nter@23151 | 30 make install |
gokhlayeh@5955 | 31 } |
gokhlayeh@5955 | 32 |
gokhlayeh@5955 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 34 genpkg_rules() |
gokhlayeh@5955 | 35 { |
gokhlayeh@5955 | 36 mkdir -p $fs/usr |
Hans-G?nter@23151 | 37 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23151 | 38 cp -a $install/usr/share $fs/usr |
gokhlayeh@5955 | 39 |
Hans-G?nter@23151 | 40 # Remove man pages and locales |
Hans-G?nter@23151 | 41 rm -rf $fs/usr/share/man |
Hans-G?nter@23151 | 42 rm -rf $fs/usr/share/locale |
al@18545 | 43 |
al@18545 | 44 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|' \ |
al@18545 | 45 $fs/usr/share/applications/lxrandr.desktop |
gokhlayeh@5955 | 46 } |