wok-current view xdg-user-dirs/receipt @ rev 24726
updated libconfuse (3.2.2 -> 3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 11:15:30 2022 +0100 (2022-03-15) |
parents | d443265acbc1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xdg-user-dirs"
4 VERSION="0.17"
5 CATEGORY="utilities"
6 LICENSE="GPL"
7 SHORT_DESC="Tool to help manage user directories."
8 MAINTAINER="yuripourre@gmail.com"
9 WEB_SITE="https://www.freedesktop.org/wiki/Software/xdg-user-dirs"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://user-dirs.freedesktop.org/releases/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="libtool gawk"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --disable-documentation \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }