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=('78c79f72df40ae4ed85beca593d870159f923e8b9e0111c16e34b6142c634995')
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