updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / lolcat / PKGBUILD
blobb242158f9667d91fcbed751b98c921f8410f4d31
1 # Maintainer: Gordin <9ordin @t gmail dot com>
2 pkgname=lolcat
3 pkgver=42.0.99
4 pkgrel=2
5 pkgdesc="Okay, no unicorns. But rainbows!!"
6 arch=('any')
7 url="https://github.com/busyloop/lolcat"
8 license=('custom')
9 groups=()
10 depends=('ruby-paint' 'ruby-trollop')
11 makedepends=('rubygems')
12 source=("http://gems.rubyforge.org/gems/lolcat-${pkgver}.gem"
13         "LICENSE")
14 noextract=("lolcat-${pkgver}.gem")
15 sha256sums=('cafd788a6b3e0177a20a9e44dfbb144ea0b6b62c9c9fb413c5223778cdd92558'
16             'c69ed68957074c03871da8cdd94fb531311a8cea181d12a39c6ca4d550fcf8fd')
18 build() {
19   install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
20   cd $srcdir
21   local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
22   gem install --ignore-dependencies -i "$pkgdir$_gemdir" lolcat-$pkgver.gem \
23   -n "$pkgdir/usr/bin"
26 # vim:set ts=2 sw=2 et: