wok diff zsnes/receipt @ rev 24422

updated claws-mail packages (3.17.5 -> 3.18.0)
author Hans-G?nter Theisgen
date Fri Feb 11 16:39:51 2022 +0100 (2022-02-11)
parents dd9b0bdf9963
children fbe88431f963
line diff
     1.1 --- a/zsnes/receipt	Wed Mar 18 10:38:57 2020 +0100
     1.2 +++ b/zsnes/receipt	Fri Feb 11 16:39:51 2022 +0100
     1.3 @@ -15,9 +15,16 @@
     1.4  BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev \
     1.5  automake autoconf zlib-dev patch"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed '/zip/!d;s|.*ZSNES v||;s|/.*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15 -
    1.16 -compile_rules() {
    1.17 +compile_rules()
    1.18 +{
    1.19    export LDFLAGS="$LDFLAGS -ltinfo"
    1.20    cd $src
    1.21    patch -p1 -i $stuff/zsnes.patch