blob: d63b481ae759dcd68b6c06868b22bc91b64d6411 (
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
35
36
37
38
39
40
41
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=cryfa-git
pkgver=20.04.r52.g06bfbc6
pkgrel=1
pkgdesc="A secure encryption tool for genomic data"
arch=('i686' 'x86_64')
url="https://github.com/cobilab/cryfa"
license=('GPL')
depends=('gcc-libs')
makedepends=('git' 'cmake')
provides=("cryfa=$pkgver")
conflicts=('cryfa')
source=("git+https://github.com/cobilab/cryfa.git")
sha256sums=('SKIP')
pkgver() {
cd "cryfa"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "cryfa"
cmake \
-B "_build" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
./
make -C "_build"
}
package() {
cd "cryfa"
install -Dm755 "_build/cryfa" -t "$pkgdir/usr/bin"
install -Dm755 "_build/keygen" "$pkgdir/usr/bin/cryfa-keygen"
}
|