PKGBUILDs/community/ruby-sqlite3/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
826 B
Bash

# $Id: PKGBUILD 2398 2009-09-17 19:25:47Z shusmann $
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: William Rea <sillywilly@gmail.com>
# Previous Maintainer: Bjorn Lindeijer <bjorn lindeijer nl>
pkgname=ruby-sqlite3
pkgver=1.2.4
pkgrel=2
pkgdesc="A Ruby interface for the SQLite3 database engine"
arch=('i686' 'x86_64')
url="http://rubyforge.org/projects/sqlite-ruby"
license=('BSD')
depends=('ruby' 'sqlite3')
provides=('sqlite3-ruby')
conflicts=('sqlite3-ruby')
source=(http://rubyforge.org/frs/download.php/42055/sqlite3-ruby-$pkgver.tar.bz2)
md5sums=('fe75fa99dd9a2b5a2f84ab484e7f6469')
build() {
cd "$srcdir/sqlite3-ruby-$pkgver"
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install --prefix="$pkgdir"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}