summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore27
-rw-r--r--PKGBUILD22
3 files changed, 68 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9560d517f82
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = ruby-tagutils
+ pkgdesc = tagutils - tag utilities (tag, taggings, tag list, etc.)
+ pkgver = 0.3.0
+ pkgrel = 1
+ url = https://github.com/rubylibs/tagutils
+ arch = any
+ license = Public Domain
+ depends = ruby
+ depends = ruby-activerecord
+ depends = ruby-props
+ depends = ruby-logutils
+ depends = ruby-textutils
+ noextract = tagutils-0.3.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/tagutils-0.3.0.gem
+ sha1sums = a95926f73c6d54257be8c623666ec88495f35e46
+
+pkgname = ruby-tagutils
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..43316bc3c12
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,27 @@
+# From: https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore
+
+*.tar
+*.tar.*
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+# makepkg working folders
+pkg
+src
+
+#
+# Additional ignore patterns:
+#
+
+# Source files
+*.deb
+*.gem
+*.out
+*.rpm
+*.html
+
+# Ignore package source folders
+*/*
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"
+}