summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Vorotnikov2015-06-14 03:32:01 +0300
committerArtem Vorotnikov2015-06-14 03:32:01 +0300
commit180a68ccae491b2b2328a1685eedaa4ab52a5854 (patch)
tree0222c6c5c1efc6e24abbfe96dfb5c2fd40d611d7
downloadaur-180a68ccae491b2b2328a1685eedaa4ab52a5854.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD23
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9b7c813bec3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ruby-compass-import-once
+ pkgdesc = Speed up your Sass compilation by making @import only import each file once.
+ pkgver = 1.0.5
+ pkgrel = 1
+ url = https://github.com/chriseppstein/compass/tree/master/import-once
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-sass
+ noextract = compass-import-once-1.0.5.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/compass-import-once-1.0.5.gem
+ sha512sums = 2ef723803341892b34a4bbe691b32ddd266a125c5e3faf8034c473566d70c7a8c0931f1a02abe64c243fe62f2a204cc8e53b951dd88c440eada4ec2dfc19856b
+
+pkgname = ruby-compass-import-once
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..31543803e91
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: Artem Vorotnikov <artem@vorotnikov.me>
+
+_gemname=compass-import-once
+pkgname=ruby-$_gemname
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='Speed up your Sass compilation by making @import only import each file once.'
+arch=(any)
+url='https://github.com/chriseppstein/compass/tree/master/import-once'
+license=(MIT)
+depends=(ruby ruby-sass)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha512sums=('2ef723803341892b34a4bbe691b32ddd266a125c5e3faf8034c473566d70c7a8c0931f1a02abe64c243fe62f2a204cc8e53b951dd88c440eada4ec2dfc19856b')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}