wok rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | 1da172fe323d |
children | f17d3e9b8ddc |
files | xvkbd/receipt |
line diff
1.1 --- a/xvkbd/receipt Wed Jun 17 15:36:27 2020 +0100 1.2 +++ b/xvkbd/receipt Fri Jun 19 01:26:32 2020 -0400 1.3 @@ -6,10 +6,10 @@ 1.4 SHORT_DESC="Virtual (graphical) keyboard program for X Window System." 1.5 MAINTAINER="paul@slitaz.org" 1.6 LICENSE="GPL2" 1.7 -WEB_SITE="http://t-sato.in.coocan.jp/xvkbd/" 1.8 +WEB_SITE="http://t-sato.in.coocan.jp" 1.9 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 -WGET_URL="${WEB_SITE}$TARBALL" 1.12 +WGET_URL="$WEB_SITE/$PACKAGE/$TARBALL" 1.13 1.14 DEPENDS="xorg-libXaw3d xorg-libXp xorg-libXtst" 1.15 BUILD_DEPENDS="xorg-imake xorg-libXaw-dev xorg-libXaw3d-dev xorg-libXp-dev 1.16 @@ -19,35 +19,34 @@ 1.17 compile_rules() 1.18 { 1.19 # delete Xaw3d 1.20 - # sed -i '/#define XAW3D/d' Imakefile 1.21 -# xmkmf && 1.22 - 1.23 - mkdir -p $install/usr/share/applications 1.24 - 1.25 - ./configure \ 1.26 - --prefix=/usr \ 1.27 - --sysconfdir=/etc/X11 \ 1.28 - $CONFIGURE_ARGS && 1.29 - make && 1.30 + sed -i '/#define XAW3D/d' Imakefile 1.31 + xmkmf && 1.32 + sed -i 's/\$(DESTDIR) \$(SHAREDIR)/$(DESTDIR)$(SHAREDIR)/' Makefile 1.33 + make 1.34 + mkdir -p $install/usr/share/X11 1.35 make install 1.36 1.37 # Add .desktop file 1.38 + mkdir -p $install/usr/share/applications 1.39 cp $stuff/usr/share/applications/xvkbd.desktop \ 1.40 - $install/usr/share/applications 1.41 + $install/usr/share/applications 1.42 1.43 # Add icon 1.44 mkdir -p $install/usr/share/icons/hicolor/32x32/apps 1.45 cp $stuff/usr/share/pixmaps/xvkbd.png \ 1.46 $install/usr/share/icons/hicolor/32x32/apps 1.47 + 1.48 + mkdir -p $install/etc/X11/app-defaults 1.49 + cp $stuff/etc/X11/app-defaults/XVkbd-russian \ 1.50 + $install/etc/X11/app-defaults 1.51 1.52 - cp -f $stuff/etc/X11/app-defaults/XVkbd-russian \ 1.53 - $install/etc/X11/app-defaults 1.54 } 1.55 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 genpkg_rules() 1.58 { 1.59 cp -a $install/* $fs 1.60 + rm -fr $fs/usr/lib 1.61 } 1.62 1.63 post_install()