wok diff libfm-extra/receipt @ rev 24411
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 09 17:57:59 2022 +0000 (2022-02-09) |
parents | 123199f38bb3 |
children | e9d0b2012a0d |
line diff
1.1 --- a/libfm-extra/receipt Thu Apr 18 17:17:32 2019 +0300 1.2 +++ b/libfm-extra/receipt Wed Feb 09 17:57:59 2022 +0000 1.3 @@ -16,6 +16,12 @@ 1.4 DEPENDS="glib glibc-base libgio" 1.5 BUILD_DEPENDS="automake gtk-doc libtool intltool" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/LibFM/ 2>/dev/null | \ 1.10 + sed "/libfm-/!d;/tar/!d;s|.*libfm-\\(.*\\).tar.*\".*|\\1|;q" 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {