summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO21
-rw-r--r--PKGBUILD22
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f6303004315
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,21 @@
+pkgbase = ruby-bropages
+ pkgdesc = Bro
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = http://bropages.org
+ arch = any
+ depends = ruby
+ depends = ruby-json_pure-1.8.1
+ depends = ruby-commander-4.1.5
+ depends = ruby-rest-client
+ depends = ruby-smart_colored
+ depends = ruby-highline-1.6.20
+ depends = ruby-mime-types-1.19
+ depends = ruby-domain_name
+ noextract = bropages-0.1.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/bropages-0.1.0.gem
+ sha1sums = d5680a69a4aad93ff3156489f122ca6c2d00d999
+
+pkgname = ruby-bropages
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0da4737645c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: ivan <qw7692336@gmail.com>
+
+_gemname=bropages
+pkgname=ruby-$_gemname
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Bro'
+arch=(any)
+url='http://bropages.org'
+license=()
+depends=(ruby ruby-json_pure-1.8.1 ruby-commander-4.1.5 ruby-rest-client ruby-smart_colored ruby-highline-1.6.20 ruby-mime-types-1.19 ruby-domain_name)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('d5680a69a4aad93ff3156489f122ca6c2d00d999')
+
+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"
+}