summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2016-12-27 21:34:07 -0500
committerMario Finelli2016-12-27 21:34:07 -0500
commitb2ac01c47287bdc3d9cd4ace217e141e5a61fb95 (patch)
tree9a9bc6871b659c5a7228de6b7575e5a3aeb97bd2
downloadaur-b2ac01c47287bdc3d9cd4ace217e141e5a61fb95.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD22
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..797d27dd601
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Wed Dec 28 02:34:00 UTC 2016
+pkgbase = ruby-dry-container
+ pkgdesc = A simple container intended for use as an IoC container.
+ pkgver = 0.6.0
+ pkgrel = 1
+ url = https://github.com/dryrb/dry-container
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-concurrent-ruby
+ depends = ruby-dry-configurable
+ noextract = dry-container-0.6.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/dry-container-0.6.0.gem
+ sha256sums = 9672f9eec9fa116212f60a2645e59a56761418dbc87f5bf915b0e51629c0a93c
+
+pkgname = ruby-dry-container
+
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..fc1a808e845
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Mario Finelli <mario at finel dot li>
+
+_gemname=dry-container
+pkgname=ruby-$_gemname
+pkgver=0.6.0
+pkgrel=1
+pkgdesc='A simple container intended for use as an IoC container.'
+arch=(any)
+url='https://github.com/dryrb/dry-container'
+license=(MIT)
+depends=(ruby ruby-concurrent-ruby ruby-dry-configurable)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha256sums=('9672f9eec9fa116212f60a2645e59a56761418dbc87f5bf915b0e51629c0a93c')
+
+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
+}