update all the packages, remove some unneeded ones
This commit is contained in:
23
src/ruby-launchy/PKGBUILD
Normal file
23
src/ruby-launchy/PKGBUILD
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by gem2arch (https://github.com/anatol/gem2arch)
|
||||
# Maintainer: Rhys Davies <rhys@johnguant.com>
|
||||
|
||||
_gemname=launchy
|
||||
pkgname=ruby-$_gemname
|
||||
pkgver=2.4.3
|
||||
pkgrel=1
|
||||
pkgdesc='Launchy is helper class for launching cross-platform applications in a fire and forget manner.'
|
||||
arch=(any)
|
||||
url='http://github.com/copiousfreetime/launchy'
|
||||
license=(ISC)
|
||||
depends=(ruby ruby-addressable)
|
||||
options=(!emptydirs)
|
||||
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
|
||||
noextract=($_gemname-$pkgver.gem)
|
||||
sha1sums=('03fae3a8897169a2625649b8c4be55c24e57090b')
|
||||
|
||||
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"
|
||||
}
|
Reference in New Issue
Block a user