blob: 7babb3ed286eacb89b0bdd84e3f330b9c2552efe (
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
|
# Maintainer: Alex S. <alex at panoptic.onl>
pkgname=cryptlib
pkgver=3.4.7
_pkgverdotless=347
pkgrel=1
pkgdesc="A high-level security interface toolkit providing encryption and authentication"
# This description is awful but it's a hard toolkit to summarize.
arch=('x86_64' 'i686')
url="https://www.cs.auckland.ac.nz/~pgut001/cryptlib/"
license=('custom:sleepycat')
depends=(zlib)
makedepends=(unzip
make)
source=("https://cryptlib-release.s3-ap-southeast-1.amazonaws.com/$pkgname$_pkgverdotless.zip")
noextract=("$pkgname$_pkgverdotless.zip")
sha256sums=('9ef71f0479a71508cfb51f403f7a42dcd5040c31c5f7aebc6bcb178bbfaf8c43')
prepare(){
unzip -a $pkgname$_pkgverdotless.zip
}
build() {
cd "$srcdir/"
make shared
}
check() {
cd "$srcdir/"
make stestlib
}
package() {
cd "$srcdir/"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
make PREFIX=/usr/ DESTDIR="$pkgdir" install
}
|