summaryrefslogtreecommitdiff
path: root/pcr/ruby-shadow/PKGBUILD
blob: d77715866ce3459063d28aeece0d68a67900c5fe (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 (Arch): 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
}