upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / ruby-atk / trunk / PKGBUILD
blob66c8deb5e100e3927103198d0287c1012ebd9b73
1 # Generated by gem2arch (https://github.com/anatol/gem2arch)
2 # Maintainer: Anatol Pomozov <anatol.pomozov@gmail.com>
4 _gemname=atk
5 pkgname=ruby-$_gemname
6 pkgver=4.1.2
7 pkgrel=1
8 pkgdesc='Ruby/ATK is a Ruby binding of ATK-1.0.x.'
9 arch=(x86_64)
10 url='http://ruby-gnome2.sourceforge.jp/'
11 license=(LGPL2.1)
12 depends=(ruby atk ruby-glib2=$pkgver)
13 makedepends=(ruby-native-package-installer ruby-rake)
14 options=(!emptydirs)
15 source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
16 noextract=($_gemname-$pkgver.gem)
17 sha256sums=('4ee3b47e038d5f1156d7c658f983183623bf6da8a5b756509df1f69d1b77ed29')
19 package() {
20   local _gemdir="$(ruby -e'puts Gem.default_dir')"
21   gem install --ignore-dependencies --no-user-install --no-document -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
22   rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"