summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChaosKid422016-11-21 16:58:14 +0100
committerChaosKid422016-11-21 16:58:14 +0100
commit6008ece348950b02acee11603fc12d0d708a4dcf (patch)
treec80ef596fc562dc6f7b2b42c36782a4e20fc7b79
downloadaur-6008ece348950b02acee11603fc12d0d708a4dcf.tar.gz
initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD23
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e09211c1175
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+# Generated by mksrcinfo v8
+# Mon Nov 21 15:56:54 UTC 2016
+pkgbase = ruby-aubio
+ pkgdesc = Ruby bindings for the aubio audio library
+ pkgver = 0.2.2
+ pkgrel = 1
+ url = https://github.com/xavriley/ruby-aubio
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-ffi
+ depends = aubio
+ noextract = aubio-0.2.2.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/aubio-0.2.2.gem
+ sha1sums = 85e1491e34fd35c27bdd5c99f1a50becda7bbee0
+
+pkgname = ruby-aubio
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..22b63168ed0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: ChaosKid42 <christoph.scholz@gmail.com>
+
+_gemname=aubio
+pkgname=ruby-$_gemname
+pkgver=0.2.2
+pkgrel=1
+pkgdesc='Ruby bindings for the aubio audio library'
+arch=(any)
+url='https://github.com/xavriley/ruby-aubio'
+license=(MIT)
+depends=(ruby ruby-ffi aubio)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('85e1491e34fd35c27bdd5c99f1a50becda7bbee0')
+
+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"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
+}