summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2016-12-27 20:42:20 -0500
committerMario Finelli2016-12-27 20:42:20 -0500
commit00ad968d11b04f46b089df11e2a5fdf3b7233d19 (patch)
tree1e45162b21908a8db1176567f42ddbc8b5639d7b
downloadaur-00ad968d11b04f46b089df11e2a5fdf3b7233d19.tar.gz
Initial commit
-rw-r--r--.SRCINFO20
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..757db19c43d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Wed Dec 28 01:42:14 UTC 2016
+pkgbase = ruby-hanami-assets
+ pkgdesc = Assets management for Ruby web applications.
+ pkgver = 0.4.0
+ pkgrel = 1
+ url = http://hanamirb.org/
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-hanami-helpers
+ depends = ruby-hanami-utils
+ depends = ruby-tilt
+ noextract = hanami-assets-0.4.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/hanami-assets-0.4.0.gem
+ sha256sums = 259404885afad40a1f41111a2dede665aee48b8cbe8a6904caf64a404eba94cb
+
+pkgname = ruby-hanami-assets
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..f71c635dafd
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*
+!.gitignore
+!PKGBUILD
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..430971d0532
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Mario Finelli <mario at finel dot li>
+
+_gemname=hanami-assets
+pkgname=ruby-$_gemname
+pkgver=0.4.0
+pkgrel=1
+pkgdesc='Assets management for Ruby web applications.'
+arch=(any)
+url='http://hanamirb.org/'
+license=(MIT)
+depends=(ruby ruby-hanami-helpers ruby-hanami-utils ruby-tilt)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha256sums=('259404885afad40a1f41111a2dede665aee48b8cbe8a6904caf64a404eba94cb')
+
+package() {
+ cd "$srcdir"
+ 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
+}