diff options
author | Mario Finelli | 2015-07-12 17:29:44 -0400 |
---|---|---|
committer | Mario Finelli | 2015-07-12 17:29:44 -0400 |
commit | e670bf62a989f6b1cfd3c5d50205111d2893a4b6 (patch) | |
tree | baf0eb52560aa1d72b12c9c68df20ca5f2c45d9c | |
download | aur-e670bf62a989f6b1cfd3c5d50205111d2893a4b6.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..40cfaadffc28 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = nodejs-autoprefixer + pkgdesc = Parse CSS and add vendor prefixes to rules by Can I Use + pkgver = 5.2.0 + pkgrel = 1 + url = https://github.com/postcss/autoprefixer + arch = any + license = MIT + depends = nodejs + depends = npm + noextract = autoprefixer-5.2.0.tgz + source = https://registry.npmjs.org/autoprefixer/-/autoprefixer-5.2.0.tgz + sha256sums = 77c39fce9529f48a921a061711e0ec91ac9bd23626069313d7794b5a05498fcb + +pkgname = nodejs-autoprefixer + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..f71c635dafda --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..05c81b03aae1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> + +_npmname=autoprefixer +pkgname=nodejs-$_npmname +pkgver=5.2.0 +pkgrel=1 +pkgdesc="Parse CSS and add vendor prefixes to rules by Can I Use" +arch=('any') +url="https://github.com/postcss/autoprefixer" +license=('MIT') +depends=('nodejs' 'npm') +source=(https://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz) +noextract=($_npmname-$pkgver.tgz) +sha256sums=('77c39fce9529f48a921a061711e0ec91ac9bd23626069313d7794b5a05498fcb') + +package() { + cd "$srcdir" + local _npmdir="$pkgdir/usr/lib/node_modules/" + mkdir -p "$_npmdir" + cd "$_npmdir" + npm install --user root -g --prefix "$pkgdir/usr" $_npmname@$pkgver +} |