diff options
author | Jochen Keil | 2016-01-11 10:41:52 +0100 |
---|---|---|
committer | Jochen Keil | 2016-01-11 10:41:52 +0100 |
commit | e48aa846b7df221853273a47e6aecc03b8a1e0b0 (patch) | |
tree | 5d8ccadf4c9836ac62cf1ecb4b499c5acdde6c25 | |
download | aur-e48aa846b7df221853273a47e6aecc03b8a1e0b0.tar.gz |
Initial version created with gem2arch
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a0fe3be696ab --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +# Generated by mksrcinfo v8 +# Mon Jan 11 09:41:46 UTC 2016 +pkgbase = ruby-snapsync + pkgdesc = tool to automate backing up snapper snapshots to other medias + pkgver = 0.3.0 + pkgrel = 1 + url = https://github.com/doudou/snapsync + arch = any + license = MIT + depends = ruby + depends = ruby-logging + depends = ruby-concurrent-ruby-0 + depends = ruby-ruby-dbus + depends = ruby-thor + noextract = snapsync-0.3.0.gem + options = !emptydirs + source = https://rubygems.org/downloads/snapsync-0.3.0.gem + sha1sums = 2187e8d112fba66dcb763cb0d41ca0e04665a5fa + +pkgname = ruby-snapsync + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..62578c3dc07a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Generated by gem2arch (https://github.com/anatol/gem2arch) +# Maintainer: Jochen Keil <jochen.keil@gmail.com> + +_gemname=snapsync +pkgname=ruby-$_gemname +pkgver=0.3.0 +pkgrel=1 +pkgdesc='tool to automate backing up snapper snapshots to other medias' +arch=(any) +url='https://github.com/doudou/snapsync' +license=(MIT) +depends=(ruby ruby-logging ruby-concurrent-ruby-0 ruby-ruby-dbus ruby-thor) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('2187e8d112fba66dcb763cb0d41ca0e04665a5fa') + +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" +} |