mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-25 20:40:32 +01:00
init
This commit is contained in:
16
.SRCINFO
Normal file
16
.SRCINFO
Normal file
@@ -0,0 +1,16 @@
|
||||
pkgbase = ruby-terminal-table
|
||||
pkgdesc = Simple, feature rich ascii table generation library
|
||||
pkgver = 1.7.3
|
||||
pkgrel = 1
|
||||
url = https://github.com/tj/terminal-table
|
||||
arch = any
|
||||
license = MIT
|
||||
depends = ruby
|
||||
depends = ruby-unicode-display_width
|
||||
noextract = terminal-table-1.7.3.gem
|
||||
options = !emptydirs
|
||||
source = https://rubygems.org/downloads/terminal-table-1.7.3.gem
|
||||
sha1sums = f1c4f71bcfc43d5b65016383403205b3bac9291e
|
||||
|
||||
pkgname = ruby-terminal-table
|
||||
|
||||
22
PKGBUILD
Normal file
22
PKGBUILD
Normal file
@@ -0,0 +1,22 @@
|
||||
# Generated by gem2arch (https://github.com/anatol/gem2arch)
|
||||
# Maintainer: farawayer <farwayer@gmail.com>
|
||||
|
||||
_gemname=terminal-table
|
||||
pkgname=ruby-$_gemname
|
||||
pkgver=1.7.3
|
||||
pkgrel=1
|
||||
pkgdesc='Simple, feature rich ascii table generation library'
|
||||
arch=(any)
|
||||
url='https://github.com/tj/terminal-table'
|
||||
license=(MIT)
|
||||
depends=(ruby ruby-unicode-display_width)
|
||||
options=(!emptydirs)
|
||||
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
|
||||
noextract=($_gemname-$pkgver.gem)
|
||||
sha1sums=('f1c4f71bcfc43d5b65016383403205b3bac9291e')
|
||||
|
||||
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"
|
||||
}
|
||||
Reference in New Issue
Block a user