diff options
author | TypeChecked | 2023-09-20 08:35:43 -0400 |
---|---|---|
committer | TypeChecked | 2023-09-20 08:35:43 -0400 |
commit | f40ed4101f09360eff49681566b0aa4b33ed4e4e (patch) | |
tree | 9b49a2ad4ef4f7fe3f005f45a8f975da478ea0de | |
download | aur-f40ed4101f09360eff49681566b0aa4b33ed4e4e.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rwxr-xr-x | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..42eb533e5530 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = tegra + pkgdesc = A command line interface for @tgra/profiler to build Tegra images from a Tegra profile. + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/cmumme/tegra#readme + arch = any + license = GPL-3.0-only + depends = nodejs + depends = npm + noextract = cli-1.0.0.tgz + source = https://registry.npmjs.org/@tgra/cli/-/cli-1.0.0.tgz + sha1sums = 6c1acb2369db3439e5bf46f6253881a42287d096 + +pkgname = tegra diff --git a/PKGBUILD b/PKGBUILD new file mode 100755 index 000000000000..26844fc66646 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Camren Mumme <camren.mumme@gmail.com> +_npmname=@tgra/cli +_npmnamenoscope=cli +_npmver=1.0.0 +pkgname=tegra +pkgver=1.0.0 +pkgrel=1 +pkgdesc="A command line interface for @tgra/profiler to build Tegra images from a Tegra profile." +arch=(any) +url="https://github.com/cmumme/tegra#readme" +license=(GPL-3.0-only) +depends=('nodejs' 'npm') +source=(https://registry.npmjs.org/$_npmname/-/$_npmnamenoscope-$_npmver.tgz) +noextract=($_npmnamenoscope-$_npmver.tgz) +sha1sums=(6c1acb2369db3439e5bf46f6253881a42287d096) + +package() { + cd $srcdir + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p $_npmdir + cd $_npmdir + npm install -g --prefix "$pkgdir/usr" $_npmname@$_npmver + chown -R root:root "$pkgdir" +} |