summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d72e2c26d02c7df51dbfe17de0768e028cb42cde (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: Pan Lanlan <abbypan@gmail.com>
pkgname=leancrypto
pkgver=1.0.0
pkgrel=1
pkgdesc='The leancrypto library is a cryptographic library that exclusively contains only PQC-resistant cryptographic algorithms.'
arch=('any')
license=('GPL2')
depends=('meson')
source=("$pkgname-$pkgver.tar.gz::https://github.com/smuellerDD/leancrypto/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('7e924430d6cc0b0ce274018b3d4a471326b05937e86b2742ccd359be1e3b48a3')
url="https://github.com/smuellerDD/${pkgname}"

build() {
	cd "$pkgname-$pkgver"
    meson setup build
    meson compile -C build
}

package() {
	cd "$pkgname-$pkgver"
    meson install -C build --destdir $pkgdir
}