Skip to content

Commit 3faa302

Browse files
committed
Prepare for 0.4 release
1 parent 69a2da0 commit 3faa302

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ the requirements listed above are installed, then use the command:
2525

2626
### Using GNU Make
2727

28+
First, download and extract the latest release tarball:
29+
30+
curl -LO https://craigbarnes.github.io/lua-gumbo/dist/lua-gumbo-0.4.tar.gz
31+
tar -xzf lua-gumbo-0.4.tar.gz
32+
cd lua-gumbo-0.4
33+
2834
By default, the Makefile will consult [pkg-config] for the appropriate
2935
build variables. Usually the following commands will be sufficient:
3036

mk/dist.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
HOMEURL = https://github.com/craigbarnes/lua-gumbo
1+
HOMEURL = https://craigbarnes.github.io/lua-gumbo
22
GITURL = git://github.com/craigbarnes/lua-gumbo.git
33
VERSION = $(or $(shell git describe --abbrev=0),$(error No version info))
44

@@ -9,7 +9,7 @@ lua-gumbo-%.tar.gz:
99
@git archive --prefix=lua-gumbo-$*/ -o $@ $*
1010
@echo 'Generated: $@'
1111

12-
gumbo-%-1.rockspec: URL = $(HOMEURL)/releases/download/$*/lua-gumbo-$*.tar.gz
12+
gumbo-%-1.rockspec: URL = $(HOMEURL)/dist/lua-gumbo-$*.tar.gz
1313
gumbo-%-1.rockspec: MD5 = `md5sum lua-gumbo-$*.tar.gz | cut -d' ' -f1`
1414
gumbo-%-1.rockspec: rockspec.in lua-gumbo-%.tar.gz
1515
@sed "s|%VERSION%|$*|;s|%URL%|$(URL)|;s|%SRCX%|md5 = '$(MD5)'|" $< > $@

rockspec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ supported_platforms = {"unix"}
44

55
description = {
66
summary = "Lua bindings for the Gumbo HTML5 parsing library",
7-
homepage = "https://github.com/craigbarnes/lua-gumbo",
7+
homepage = "https://craigbarnes.github.io/lua-gumbo/",
88
license = "ISC"
99
}
1010

0 commit comments

Comments
 (0)