wok-6.x diff pekwm/receipt @ rev 23243
created recipe for nim, successor of nimrod
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 10:14:20 2020 +0100 (2020-03-25) |
parents | 970c5ec9a60a |
children | d443265acbc1 |
line diff
1.1 --- a/pekwm/receipt Sun May 20 13:28:18 2018 +0200 1.2 +++ b/pekwm/receipt Wed Mar 25 10:14:20 2020 +0100 1.3 @@ -1,25 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="pekwm" 1.7 -VERSION="0.1.13" 1.8 +VERSION="0.1.17" 1.9 CATEGORY="x-window" 1.10 +TAGS="window-manager" 1.11 SHORT_DESC="Very light, configurable and themable window manager for X." 1.12 MAINTAINER="jozee@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://www.pekwm.org/" 1.15 + 1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 +WGET_URL="https://github.com/pekdon/$PACKAGE/archive/release-$VERSION.tar.gz" 1.18 + 1.19 SUGGESTED="hsetroot tint2 lxpanel wbar xorg-xprop xorg-xev xdotool wmctrl" 1.20 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.21 -WEB_SITE="http://www.pekwm.org/projects/pekwm" 1.22 -WGET_URL="$WEB_SITE/files/$TARBALL" 1.23 -TAGS="window-manager" 1.24 - 1.25 DEPENDS="xorg-libX11 xorg-libXinerama xorg-libXft xorg-libXrandr xorg-libXpm" 1.26 -BUILD_DEPENDS="xorg-dev xorg-dev-proto zlib-dev" 1.27 +BUILD_DEPENDS="automake xorg-dev xorg-dev-proto zlib-dev" 1.28 1.29 # Rules to configure and make the package. 1.30 compile_rules() 1.31 { 1.32 - cd $src 1.33 - ./configure --prefix=/usr --sysconfdir=/etc $CONFIGURE_ARGS && 1.34 + ./autogen.sh && 1.35 + ./configure \ 1.36 + --prefix=/usr \ 1.37 + --sysconfdir=/etc \ 1.38 + $CONFIGURE_ARGS && 1.39 make && 1.40 make DESTDIR=$DESTDIR install 1.41 } 1.42 @@ -27,14 +31,19 @@ 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 - mkdir -p $fs/usr/bin $fs/usr/share/pekwm $fs/etc 1.47 - cp -a $install/usr/bin $fs/usr 1.48 - cp -a $install/usr/share/pekwm $fs/usr/share 1.49 - cp -a $install/etc $fs 1.50 + mkdir -p $fs/usr/bin 1.51 + mkdir -p $fs/usr/share/pekwm 1.52 + mkdir -p $fs/etc 1.53 + 1.54 + cp -a $install/usr/bin $fs/usr 1.55 + cp -a $install/usr/share/pekwm $fs/usr/share 1.56 + cp -a $install/etc $fs 1.57 + 1.58 # Custom configuration files and scripts 1.59 - cp -a $stuff/etc $fs 1.60 - cp -a $stuff/scripts $fs/usr/share/pekwm 1.61 - # Set perms. 1.62 + cp -a $stuff/etc $fs 1.63 + cp -a $stuff/scripts $fs/usr/share/pekwm 1.64 + 1.65 + # Set permissions 1.66 chown -R root.root $fs 1.67 chmod +x $fs/etc/pekwm/start 1.68 chmod +x $fs/usr/share/pekwm/scripts/* 1.69 @@ -43,7 +52,7 @@ 1.70 1.71 post_install() 1.72 { 1.73 - # Pekwm searches for default font path (100dpi folder) for xsever to render 1.74 + # Pekwm searches for default font path (100dpi folder) for xserver to render 1.75 # menus; either manually set it in .xinitrc or fake 100dpi folder fonts 1.76 # by linking to ttf-dejavu 1.77 if [ ! -d "$1/usr/share/fonts/X11/100dpi/" ]; then