blob: 3e72ed87477ad60eabd8cee0f58fa229b497f688 (
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
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Alex Wilson <alex at cooperi dot net>
pkgname=pivy
pkgver=0.1.0
pkgrel=1
pkgdesc="Tools for using PIV smartcards/Yubikeys with ssh-agent and encryption"
url="https://github.com/arekinath/pivy"
license=('MPL2')
source=(
"https://github.com/arekinath/pivy/archive/v0.1.0.tar.gz"
"https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.7.4.tar.gz")
arch=(x86 x86_64)
depends=(libbsd pcsclite libedit)
makedepends=()
md5sums=('3eed4156a6161f9448e95c07cb8111d4'
'94ce8f4cdbb6b57565da61e380d63045')
prepare() {
mv "libressl-2.7.4" "$pkgname-$pkgver/libressl"
}
build() {
cd "$pkgname-$pkgver"
cd libressl
./configure --enable-static
cd crypto
make
cd ../..
make prefix=/usr
}
package() {
cd "$pkgname-$pkgver"
make prefix=/usr DESTDIR="$pkgdir/" install
}
|