wok view wordgrinder/receipt @ rev 25690

mmv: inserted current_version()
author Hans-G?nter Theisgen
date Mon Apr 15 15:20:24 2024 +0100 (7 weeks ago)
parents d5fd4a4c1a76
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wordgrinder"
4 VERSION="0.8"
5 CATEGORY="office"
6 SHORT_DESC="A simple Unicode-aware word processor that runs on the console."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://cowlark.com/wordgrinder/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/davidgiven/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="freetype lua ncursesw xorg-libXft"
15 BUILD_DEPENDS="freetype-dev lua-dev ncursesw-dev ninja xorg-libXft-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/WordGrinder/!d;s|.*Grinder ||;s|<.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make install \
28 PREFIX=/usr \
29 DESTDIR=$DESTDIR \
30 LUA_PACKAGE=lua
31 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_folders bin
38 cook_copy_folders mime-info
39 }