diff options
Diffstat (limited to 'pcr/ruby-syntax/PKGBUILD')
-rw-r--r-- | pcr/ruby-syntax/PKGBUILD | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/pcr/ruby-syntax/PKGBUILD b/pcr/ruby-syntax/PKGBUILD deleted file mode 100644 index 36d38a725..000000000 --- a/pcr/ruby-syntax/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainter: Aurelien Desbrieres <aurelien@cwb.io> -# Contributer: Luke Shumaker <lukeshu@sbcglobal.net> -# Maintainer (AUR): Adam Lloyd <lloyda2@rpi.edu> - -_gemname=syntax -pkgname=ruby-$_gemname -pkgver=1.0.0 -pkgdesc="A Ruby library for performing simple syntax highlighting" -url="http://syntax.rubyforge.org/" -license=('custom:BSD3') - -pkgrel=2 -arch=(any) -depends=(ruby) -makedepends=(rubygems) -source=("https://rubyforge.org/frs/download.php/4952/$_gemname-$pkgver.tar.bz2" $_gemname.gemspec) -md5sums=('bcb53b7d0847190c40a993c3fe1f1611' - '6e9a615fd9ba73335b16e5cc8762667d') - -build() { - cd "$srcdir/$_gemname-$pkgver" - gem build ../$_gemname.gemspec -} - -package() { - cd "$srcdir/$_gemname-$pkgver" - local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" - gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \ - "$_gemname-$pkgver.gem" - install -Dm644 "$pkgdir$_gemdir"/gems/$_gemname-$pkgver/LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} |