summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3bf4ac29abb4726a9e6b98cac8812421a39448d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jan Tulak <jan@tulak.me>
pkgname=librdrand
pkgver=2.0.0
pkgrel=1
epoch=
pkgdesc="A library and an userspace application (rdrand-gen) for easy access to Intel's RdRand DRNG."
arch=("x86_64")
url="https://github.com/BroukPytlik/RdRand"
license=('LGPL')
depends=('openssl')
source=("https://github.com/BroukPytlik/RdRand/archive/$pkgver.tar.gz")
md5sums=("e5aa7feb2f1f21b56911c58e8faba475")

build() {
	cd "RdRand-$pkgver"
	./configure --prefix=/usr
	make
}

package() {
	cd "RdRand-$pkgver"
	make DESTDIR="$pkgdir/" install
}