summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 60d1e8bdc2688e7c9f964356b82a99c72f40cb39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Simon Legner <Simon.Legner@gmail.com>
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
# Contributor: Christopher Loen <christopherloen at gmail dot com>
# Contributor: Artem Vorotnikov <artem@vorotnikov.me>
# Generated by gem2arch (https://github.com/anatol/gem2arch)

_gemname_="curses"
pkgname="ruby-${_gemname_}"
pkgver=1.4.0
pkgrel=1
pkgdesc="Ruby binding for curses, ncurses, and PDCurses"
arch=("any")
url="https://github.com/ruby/curses"
license=("Ruby" "BSD-2-Clause")
depends=("ruby")
makedepends=("ruby-rdoc")
options=(!emptydirs)
source=("https://rubygems.org/downloads/${_gemname_}-${pkgver}.gem")

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"
}

sha256sums=('51ce7a1cd81fb82585a9c5fe574f428ceb88f0b9e2c934dfe9d4c08882349244')