# Contributor: Thomas S Hatch <thatch45@gmail.com>
# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.IO>

pkgname=ruby-shadow
pkgver=2.1.4
pkgrel=5
pkgdesc="Interface for shadow passwords for Ruby"
arch=(i686 x86_64 arm)
depends=('ruby')
license=('publicdomain')
url=('https://github.com/apalmblad/ruby-shadow.git')
source=("https://github.com/apalmblad/ruby-shadow/archive/$pkgver.tar.gz")


build() {
	cd $srcdir/$pkgname-$pkgver
	ruby extconf.rb
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	make DESTDIR=$pkgdir install
}