summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJames An2017-03-17 16:00:09 -0400
committerJames An2017-03-17 16:00:09 -0400
commita7c3e856b7e43aed20b754e25e3e0250f9fa8401 (patch)
treea13e4d886ef545cf5807a66eebfa9ce84756a1b0 /PKGBUILD
downloadaur-a7c3e856b7e43aed20b754e25e3e0250f9fa8401.tar.gz
Initial commit with working PKGBUILD generated by gem2arch.
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..90de3d4b317
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: James An <james@jamesan.ca>
+
+_gemname=tagutils
+pkgname=ruby-$_gemname
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='tagutils - tag utilities (tag, taggings, tag list, etc.)'
+arch=(any)
+url='https://github.com/rubylibs/tagutils'
+license=('Public Domain')
+depends=(ruby ruby-activerecord ruby-props ruby-logutils ruby-textutils)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('a95926f73c6d54257be8c623666ec88495f35e46')
+
+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"
+}