diff options
author | Grey Christoforo | 2017-02-27 01:47:03 +0000 |
---|---|---|
committer | Grey Christoforo | 2017-02-27 01:47:03 +0000 |
commit | 7f3f628e4f3250e077027b882483f9a21a82e895 (patch) | |
tree | 708cfe7c828c807e0058eaab6076cad4068a4419 | |
download | aur-7f3f628e4f3250e077027b882483f9a21a82e895.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 23 |
3 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..47f443a364ca --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon Feb 27 01:47:00 UTC 2017 +pkgbase = ruby-github-markup + pkgdesc = The code GitHub uses to render README.markup + pkgver = 1.4.1 + pkgrel = 1 + url = https://github.com/github/markup + arch = any + license = MIT + depends = ruby + noextract = github-markup-1.4.1.gem + options = !emptydirs + source = https://rubygems.org/downloads/github-markup-1.4.1.gem + sha1sums = 5c3f1830754182fe14f70a18b087703b57b352d3 + +pkgname = ruby-github-markup + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..32f0ae164510 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src/ +pkg/ +*.tar.gz +*.tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b202aaefc353 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Generated by gem2arch (https://github.com/anatol/gem2arch) +# Maintainer: Grey Christoforo <grey@christoforo.net> + +_gemname=github-markup +pkgname=ruby-$_gemname +pkgver=1.4.1 +pkgrel=1 +pkgdesc='The code GitHub uses to render README.markup' +arch=(any) +url='https://github.com/github/markup' +license=(MIT) +depends=(ruby) +options=(!emptydirs) +source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem) +noextract=($_gemname-$pkgver.gem) +sha1sums=('5c3f1830754182fe14f70a18b087703b57b352d3') + +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" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |