summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorivan2017-02-12 16:55:37 +0800
committerivan2017-02-12 16:55:37 +0800
commitaa84126d9983611d3ee05d73dee3fe28ad4216b9 (patch)
tree46664a4d0fe8f482902f83fee941024b95a5e758 /PKGBUILD
downloadaur-ruby-bropages.tar.gz
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD22
1 files changed, 22 insertions, 0 deletions
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"
+}