summaryrefslogtreecommitdiff
path: root/libre/ronn
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2014-02-02 04:08:58 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2014-02-02 16:24:13 -0500
commit8e5ef1a45978296b398e9fbb1e0c8bef22266173 (patch)
tree4dae5635fe8d93e5e1b40f141caa134294dbf513 /libre/ronn
parent73243768bf2398ec3ccd485c423f81d015951dd8 (diff)
libre/ronn: build against ruby 2.1
Diffstat (limited to 'libre/ronn')
-rw-r--r--libre/ronn/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/ronn/PKGBUILD b/libre/ronn/PKGBUILD
index 4bd097048..3f8d0470e 100644
--- a/libre/ronn/PKGBUILD
+++ b/libre/ronn/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
_gemname=ronn
pkgname=$_gemname
@@ -9,7 +9,7 @@ license=('custom:MIT')
provides=(ruby-$_gemname=$pkgver)
-pkgrel=4
+pkgrel=5
arch=('any')
depends=('ruby' 'ruby-hpricot' 'ruby-rdiscount' 'ruby-mustache')
makedepends=('rubygems')
@@ -23,8 +23,10 @@ package() {
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
+ install -d "$pkgdir"/usr/share/licenses/$pkgname
+ ln -sr "$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##*/}