wok-current annotate lxrandr/receipt @ rev 18545
Add: get-vivaldi, kazehakase. Up: firefox-official(42.0). Misc: change various icons.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 07 03:08:19 2015 +0200 (2015-11-07) |
parents | c9e270dd464f |
children | c3426057458e |
rev | line source |
---|---|
gokhlayeh@5955 | 1 # SliTaz package receipt. |
gokhlayeh@5955 | 2 |
gokhlayeh@5955 | 3 PACKAGE="lxrandr" |
psychomaniak@17509 | 4 VERSION="0.3.0" |
gokhlayeh@5955 | 5 CATEGORY="utilities" |
al@17992 | 6 SHORT_DESC="LXDE monitor configuration tool" |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
psychomaniak@17509 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
gokhlayeh@5955 | 10 WEB_SITE="http://lxde.org" |
gokhlayeh@5955 | 11 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
al@17992 | 12 TAGS="LXDE" |
pankso@16261 | 13 HOST_ARCH="i486 arm" |
gokhlayeh@5955 | 14 |
pascal@15000 | 15 DEPENDS="gtk+ xorg-xrandr" |
pankso@16261 | 16 BUILD_DEPENDS="gtk+-dev xorg-libXrandr-dev" |
pascal@15000 | 17 |
gokhlayeh@5955 | 18 # Rules to configure and make the package. |
gokhlayeh@5955 | 19 compile_rules() |
gokhlayeh@5955 | 20 { |
pankso@16261 | 21 # Fix sources. |
gokhlayeh@5955 | 22 echo "Icon=video-display" >> data/lxrandr.desktop.in |
gokhlayeh@8340 | 23 touch po/stamp-it |
gokhlayeh@5955 | 24 ./configure \ |
gokhlayeh@5955 | 25 $CONFIGURE_ARGS && |
pankso@16261 | 26 make && make install |
gokhlayeh@5955 | 27 } |
gokhlayeh@5955 | 28 |
gokhlayeh@5955 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5955 | 30 genpkg_rules() |
gokhlayeh@5955 | 31 { |
gokhlayeh@5955 | 32 mkdir -p $fs/usr |
pascal@15000 | 33 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 34 cp -a $install/usr/share $fs/usr |
gokhlayeh@5955 | 35 |
gokhlayeh@5955 | 36 # Remove man & locales |
gokhlayeh@5955 | 37 rm -rf $fs/usr/share/man |
al@18545 | 38 rm -rf $fs/usr/share/locale |
al@18545 | 39 |
al@18545 | 40 sed -i 's|^Icon=.*$|Icon=preferences-desktop-display|' \ |
al@18545 | 41 $fs/usr/share/applications/lxrandr.desktop |
gokhlayeh@5955 | 42 } |