summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Weidenbaum2016-02-11 12:19:13 -0800
committerAndy Weidenbaum2016-02-11 12:19:13 -0800
commite4e0810099c1b1942059c7cfce65b95e26970f17 (patch)
treec5abba9cdb304aa84759b1f4b41b542c5052eb87
downloadaur-e4e0810099c1b1942059c7cfce65b95e26970f17.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD26
2 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9196da1952d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Thu Feb 11 20:19:09 UTC 2016
+pkgbase = ruby-binman
+ pkgdesc = Produces UNIX manual pages for executable scripts
+ pkgver = 4.1.0
+ pkgrel = 1
+ url = https://github.com/sunaku/binman
+ arch = any
+ license = ISC
+ depends = ruby
+ depends = ruby-opener
+ provides = binman
+ provides = ruby-binman
+ conflicts = binman
+ noextract = binman-4.1.0.gem
+ source = https://rubygems.org/downloads/binman-4.1.0.gem
+ sha256sums = 69bb96e992eaccb82871b2eda2201645471a78ab76bcb20121f75cb20a57fe30
+
+pkgname = ruby-binman
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d04e9d031e9
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=ruby-binman
+pkgver=4.1.0
+pkgrel=1
+pkgdesc="Produces UNIX manual pages for executable scripts"
+arch=('any')
+depends=('ruby' 'ruby-opener')
+url="https://github.com/sunaku/binman"
+license=('ISC')
+source=(https://rubygems.org/downloads/${pkgname#*-}-${pkgver}.gem)
+sha256sums=('69bb96e992eaccb82871b2eda2201645471a78ab76bcb20121f75cb20a57fe30')
+noextract=("${pkgname#*-}-${pkgver}.gem")
+provides=('binman' 'ruby-binman')
+conflicts=('binman')
+
+package() {
+ cd "$srcdir"
+
+ msg2 'Installing...'
+ gem install \
+ --no-user-install \
+ --ignore-dependencies \
+ -i "$pkgdir$(ruby -rubygems -e'puts Gem.default_dir')" \
+ ${pkgname#*-}-$pkgver.gem
+}