diff options
Diffstat (limited to 'libre/ruby-rdiscount/PKGBUILD')
-rw-r--r-- | libre/ruby-rdiscount/PKGBUILD | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/libre/ruby-rdiscount/PKGBUILD b/libre/ruby-rdiscount/PKGBUILD deleted file mode 100644 index b6cbcc4cc..000000000 --- a/libre/ruby-rdiscount/PKGBUILD +++ /dev/null @@ -1,34 +0,0 @@ -# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net -# Maintainer (AUR): Alexsandr Pavlov <kidoz at mail dot ru> -# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail dot com> - -_gemname=rdiscount -pkgname=ruby-$_gemname -pkgver=2.1.6 -pkgdesc="C implementation of John Gruber's Markdown." -url="http://dafoster.net/projects/rdiscount/" - -license=('BSD3') - -pkgrel=1 -arch=('i686' 'x86_64') -depends=('ruby') -makedepends=('rubygems') -source=(http://rubygems.org/downloads/$_gemname-$pkgver.gem) -noextract=($_gemname-$pkgver.gem) - -package() { - cd "${srcdir}" - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \ - "$_gemname-$pkgver.gem" - - install -Dm644 "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/COPYING \ - "$pkgdir"/usr/share/licenses/$pkgname/COPYING - shopt -s nullglob - for file in "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/man/*.{1..8}; do - install -Dm644 "$file" "$pkgdir"/usr/share/man/man${file##*.}/${file##*/} - done -} - -md5sums=('99c5a8f33f6796e766f0b8e73b0519c6') |