summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 657ad2c99b0547f78afae9f8ce4f06e9ebc7dba9 (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
# Maintainer: tobtoht <dev@featherwallet.org>

pkgname='polyseed'
pkgver=1.0.0
pkgrel=1
pkgdesc='Mnemonic seed library for Monero and other CryptoNote-based currencies.'
arch=('x86_64')
url='https://github.com/tevador/polyseed'
license=('LGPL3')
makedepends=('git' 'cmake')

source=("${pkgname}-${pkgver}.tar.gz::https://github.com/tevador/polyseed/archive/refs/tags/v1.0.0.tar.gz")

sha256sums=('45f1e6c08575286581079e6e26d341a3a33abe1f1ee2d026bd098cf632ea2349')

build() {
  cmake -B build -S "$pkgname-$pkgver" -DCMAKE_INSTALL_LIBDIR=/usr/lib/ -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/
  cmake --build build
}

package() {
  cd "$srcdir/build"
  make DESTDIR="$pkgdir/" install
}