new package: smlfmt-1.1
This commit is contained in:
parent
5d6bf9dd65
commit
e2de1ae2ab
|
@ -0,0 +1,15 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index 8a8ba9f..85c4303 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -16,8 +16,8 @@ demo.dbg: $(SOURCES)
|
||||
|
||||
.PHONY: install
|
||||
install: smlfmt
|
||||
- install -d $(PREFIX)/bin/
|
||||
- install -m 755 smlfmt ${PREFIX}/bin/
|
||||
+ install -d $(DESTDIR)$(PREFIX)/bin/
|
||||
+ install -m 755 smlfmt $(DESTDIR)$(PREFIX)/bin/
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
|
@ -0,0 +1,17 @@
|
|||
# Template file for 'smlfmt'
|
||||
pkgname=smlfmt
|
||||
version=1.1.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="mlton"
|
||||
short_desc="Custom parser and code formatter for Standard ML"
|
||||
maintainer="ii8 <murray.calavera@protonmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/shwestrick/smlfmt"
|
||||
distfiles="https://github.com/shwestrick/smlfmt/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=ca957b3a72615d292443742a1b155d180d963e1c4e17d4d2644af4fb53be627f
|
||||
nocross=yes
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in New Issue