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..e8d0c0be553
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = ruby-textutils
+ pkgdesc = textutils - Text Filters, Helpers, Readers and More
+ pkgver = 1.4.0
+ pkgrel = 1
+ url = https://github.com/textkit/textutils
+ arch = any
+ license = Public Domain
+ depends = ruby
+ depends = ruby-props
+ depends = ruby-logutils
+ depends = ruby-rubyzip
+ depends = ruby-activesupport
+ noextract = textutils-1.4.0.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/textutils-1.4.0.gem
+ sha1sums = 004b1338824a661bdcf05ae8f44604e7763f3ec0
+
+pkgname = ruby-textutils
+
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..e0f055a45d1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: James An <james@jamesan.ca>
+
+_gemname=textutils
+pkgname=ruby-$_gemname
+pkgver=1.4.0
+pkgrel=1
+pkgdesc='textutils - Text Filters, Helpers, Readers and More'
+arch=(any)
+url='https://github.com/textkit/textutils'
+license=('Public Domain')
+depends=(ruby ruby-props ruby-logutils ruby-rubyzip ruby-activesupport)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('004b1338824a661bdcf05ae8f44604e7763f3ec0')
+
+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"
+}