1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
6 pkgdesc='Etebase C library'
8 url='https://github.com/etesync/libetebase'
10 depends=(openssl gcc-libs libsodium)
12 source=(https://github.com/etesync/libetebase/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
13 sha256sums=('ba0d6740d39d7d09cdf2dda4e73716a3c05502770a40b8087582570bd1c31752')
17 cargo fetch --locked --target "$CARCH-unknown-linux-gnu"
22 env CARGO_INCREMENTAL=0 SODIUM_USE_PKG_CONFIG= cargo build --release --locked --offline
28 make DESTDIR="$pkgdir" install
30 install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname