wok-current view xdg-user-dirs/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (4 weeks ago)
parents 535c806240cc
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 HOST_ARCH="i486 x86_64"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh \
30 --disable-documentation \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }