blob: d941b621d3cd8f470cd4a1b80a16088bc9fa0533 (
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
|
# Maintainer: Daniel Poellmann <aur@<lastname><firstname>.de>
pkgname=libkeychain
pkgver=1.3.0
pkgrel=1
pkgdesc="Thin cross-platform wrapper to access the operating system's credential storage in C++."
arch=('x86_64')
url="https://github.com/hrantzsch/keychain"
license=('MIT')
depends=('libsecret')
makedepends=('cmake' 'git')
source=("$pkgname::git+https://github.com/hrantzsch/keychain.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
mkdir -p _build
cmake . -DBUILD_TESTS=no -B _build
cmake --build _build
}
package() {
cd "$pkgname"
install -Dm644 "$srcdir/libkeychain/include/keychain/keychain.h" "$pkgdir/usr/include/keychain/keychain.h"
install -Dm644 "$srcdir/libkeychain/_build/libkeychain.a" "$pkgdir/usr/lib/libkeychain.a"
}
|