summaryrefslogtreecommitdiff
path: root/pcr/ruby-shadow/PKGBUILD
blob: 5b7ee1972361ce26a89a840f87dd0e01bf5cd724 (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
# 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
}