wok-next diff get-src2pkg/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8e1b2a143eb3
children 0cbe4b1f2230
line diff
     1.1 --- a/get-src2pkg/receipt	Sat Sep 01 16:21:51 2018 +0300
     1.2 +++ b/get-src2pkg/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="get-src2pkg"
     1.8  VERSION="1.00"
     1.9 @@ -9,10 +9,10 @@
    1.10  WEB_SITE="https://distro.ibiblio.org/amigolinux/"
    1.11  REPOLOGY="-"
    1.12  
    1.13 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.14 -genpkg_rules()
    1.15 -{
    1.16 -	mkdir -p $fs/usr/bin
    1.17 -	cp $stuff/get-src2pkg $fs/usr/bin
    1.18 +compile_rules() {
    1.19 +	install -Dm755 $stuff/$PACKAGE $install/usr/bin/$PACKAGE
    1.20  }
    1.21  
    1.22 +genpkg_rules() {
    1.23 +	copy @std
    1.24 +}