summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaizhao Zhang2020-09-07 19:55:22 +0800
committerKaizhao Zhang2020-09-07 19:55:22 +0800
commit90db7dc51712d58d6fd62e46f0a02d861da63799 (patch)
tree34ec5c1191af5e78a50bca7721acbaa55cb20c2a
downloadaur-ruby-bake.tar.gz
Initial import with version 0.14.2
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore7
-rw-r--r--PKGBUILD22
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3cb11f3e536
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ruby-bake
+ pkgdesc = A replacement for rake with a simpler syntax.
+ pkgver = 0.14.2
+ pkgrel = 1
+ url = https://github.com/ioquatix/bake
+ arch = any
+ license = MIT
+ depends = ruby-samovar>=2.1
+ provides = bake
+ noextract = bake-0.14.2.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/bake-0.14.2.gem
+ sha256sums = 49c68f05177b6b0bdc8c4d61888a73a4c9f3635a80b618b9429f1caab0e1a415
+
+pkgname = ruby-bake
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..11762378c06
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+*
+!.gitignore
+!PKGBUILD
+!*.patch
+!*.install
+!*.sysusers
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bf99125d3f6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Kaizhao Zhang <zhangkaizhao@gmail.com>
+
+_gemname=bake
+pkgname=ruby-$_gemname
+pkgver=0.14.2
+pkgrel=1
+pkgdesc='A replacement for rake with a simpler syntax.'
+provides=(bake)
+arch=(any)
+url='https://github.com/ioquatix/bake'
+license=(MIT)
+depends=('ruby-samovar>=2.1')
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha256sums=('49c68f05177b6b0bdc8c4d61888a73a4c9f3635a80b618b9429f1caab0e1a415')
+
+package() {
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+}