diff options
author | Dian Fay | 2019-06-06 23:45:19 -0400 |
---|---|---|
committer | Dian Fay | 2019-06-06 23:45:36 -0400 |
commit | 5aeff385aa20d5a9a20940497123182aaa1332ee (patch) | |
tree | 6cae457fe62dbdff6f8071dbc9a4dd9172938a75 | |
download | aur-nodejs-entropic.tar.gz |
download and install ds-latest from entropic.dev
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 20 | ||||
-rwxr-xr-x | build | 5 | ||||
-rw-r--r-- | nodejs-entropic.install | 3 |
5 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3b849ebb9c92 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = nodejs-entropic + pkgdesc = The Entropic package registry's ds command-line interface + pkgver = 0.0.1 + pkgrel = 1 + url = https://entropic.dev + install = nodejs-entropic.install + arch = x86_64 + license = MIT + makedepends = npm + source = https://www.entropic.dev/ds-latest.tgz + md5sums = cb96ef64adcafe8b93e912028eb2fc1c + +pkgname = nodejs-entropic + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..11a4e90abc56 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +*.tgz +**/*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..65779a994220 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,20 @@ +# Maintainer: Dian Fay <dian.m.fay@gmail.com> +pkgname=nodejs-entropic +pkgver=0.0.1 +pkgrel=1 +pkgdesc="The Entropic package registry's ds command-line interface" +arch=("x86_64") +url="https://entropic.dev" +license=("MIT") +install=$pkgname.install +source=( + https://www.entropic.dev/ds-latest.tgz +) +makedepends=( + "npm" +) + +package() { + npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/ds-latest.tgz +} +md5sums=('cb96ef64adcafe8b93e912028eb2fc1c') diff --git a/build b/build new file mode 100755 index 000000000000..5629cd925bbd --- /dev/null +++ b/build @@ -0,0 +1,5 @@ +sudo pacman -R entropic <<< "Y" +updpkgsums +makepkg -cf +makepkg --printsrcinfo > .SRCINFO +makepkg -sri <<< "Y" diff --git a/nodejs-entropic.install b/nodejs-entropic.install new file mode 100644 index 000000000000..1ac88a8abed6 --- /dev/null +++ b/nodejs-entropic.install @@ -0,0 +1,3 @@ +post_remove() { + npm remove -g --user root entropic +} |