summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn D Jones III2015-06-16 13:59:22 -0600
committerJohn D Jones III2015-06-16 13:59:22 -0600
commiteb0602c9ea22ad9b3abc5567772383b326a3d930 (patch)
tree0bf8bf251b9c7b460a0e9d865fff5bbb32c6833e
downloadaur-eb0602c9ea22ad9b3abc5567772383b326a3d930.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..770654ccdd2
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = nodejs-css-b64-images
+ pkgdesc = Base64 images in your css
+ pkgver = 0.2.5
+ pkgrel = 1
+ url = https://github.com/Filirom1/css-base64-images
+ arch = any
+ license = MIT
+ depends = nodejs
+ depends = npm
+ noextract = css-b64-images-0.2.5.tgz
+ source = http://registry.npmjs.org/css-b64-images/-/css-b64-images-0.2.5.tgz
+ sha1sums = 42005d83204b2b4a5d93b6b1a5644133b5927a02
+
+pkgname = nodejs-css-b64-images
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ae63fa81cf3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# # Maintainer: John D Jones III AKA jnbek <jnbek1972 -_AT_- g m a i l -_Dot_- com>
+_npmname=css-b64-images
+pkgname=nodejs-css-b64-images # All lowercase
+pkgver=0.2.5
+pkgrel=1
+pkgdesc="Base64 images in your css"
+arch=(any)
+url="https://github.com/Filirom1/css-base64-images"
+license=(MIT)
+depends=('nodejs' 'npm')
+optdepends=()
+source=(http://registry.npmjs.org/$_npmname/-/$_npmname-$pkgver.tgz)
+noextract=($_npmname-$pkgver.tgz)
+sha1sums=('42005d83204b2b4a5d93b6b1a5644133b5927a02')
+
+package() {
+ cd $srcdir
+ local _npmdir="$pkgdir/usr/lib/node_modules/"
+ mkdir -p $_npmdir
+ cd $_npmdir
+ npm install -g --prefix "$pkgdir/usr" $_npmname@$pkgver
+}
+# vim:set ts=2 sw=2 et: