diff options
-rw-r--r-- | libre/ronn/PKGBUILD | 10 |
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##*/} |