Change install method for bpkg, enhanced package.json
This commit is contained in:
parent
b61acbe823
commit
bd101aab99
8
Makefile
8
Makefile
|
@ -1,8 +0,0 @@
|
|||
BIN ?= tldr
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
install:
|
||||
cp $(BIN) $(PREFIX)/bin/$(BIN)
|
||||
|
||||
uninstall:
|
||||
rm -f -- $(PREFIX)/bin/$(BIN)
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
### Bash client for tldr: community driven man-by-example
|
||||
**A fully-functional [bash](https://tiswww.case.edu/php/chet/bash/bashtop.html)
|
||||
client for the [tldr](https://github.com/rprieto/tldr/) project, providing
|
||||
client for the [tldr](https://github.com/tldr-pages/tldr) project, providing
|
||||
poignant examples of terminal commands.**
|
||||
|
||||
<img alt="tldr list screenshot" src="tldr-list.jpg" title="tldr list" width="600" />
|
||||
|
@ -86,6 +86,6 @@ Or even better, send a pull request!
|
|||
|
||||
Original client by Ray Lee http://github.com/raylee/tldr (MIT license)
|
||||
|
||||
Relicensed under GPL v3+
|
||||
Relicensed under GPLv3+
|
||||
|
||||
<img alt="tldr new markdown screenshot" src="tldr-markdown-new.jpg" title="tldr new markdown" width="600" />
|
||||
|
|
29
package.json
29
package.json
|
@ -1,9 +1,24 @@
|
|||
{
|
||||
"name": "tldr-bash-client",
|
||||
"version": "0.3",
|
||||
"description": "Bash client for tldr: community driven man-by-example",
|
||||
"global": "true",
|
||||
"install": "make install",
|
||||
"uninstall": "make uninstall",
|
||||
"scripts": [ "tldr" ]
|
||||
"name": "tldr-bash-client",
|
||||
"version": "0.3.0",
|
||||
"description": "Bash client for tldr: community driven man-by-example",
|
||||
"preferGlobal": true,
|
||||
"global": "true",
|
||||
"install": "install -c tldr ${PREFIX:-/usr/local}/bin",
|
||||
"uninstall": "rm -f -- ${PREFIX:-/usr/local}/bin/tldr",
|
||||
"bin": {
|
||||
"tldr": "tldr"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pepa65/tldr-bash-client"
|
||||
},
|
||||
"keywords": [ "color", "github", "docs", "client", "markdown", "bash", "man" ],
|
||||
"author": "pepa65 <solusos@passchier.net>",
|
||||
"license": "GPL-3.0+",
|
||||
"bugs": {
|
||||
"url": "https://github.com/pepa65/tldr-bash-client",
|
||||
"email" : "solusos@passchier.net"
|
||||
},
|
||||
"homepage": "https://github.com/pepa65/tldr-bash-client"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue