# Maintainer: Jochen Henneberg pkgname=devsync pkgver=0.2.0 pkgrel=1 pkgdesc="Backup tool for developers" arch=('i686' 'x86_64') url="https://github.com/Henneberg-Systemdesign/devsync" license=('GPL3') depends=('openssl') makedepends=('rust' 'gzip') source=("devsync-$pkgver.tar.gz::https://github.com/Henneberg-Systemdesign/devsync/archive/refs/tags/v${pkgver}.tar.gz") sha256sums=('f37a111ba71e1a85ca6b86552d30fca166b62645eda698c4677f9a1d5c855348') build() { cd "${srcdir}/devsync-${pkgver}" cargo build --release gzip -9n devsync.1 } package() { cd "${srcdir}/devsync-${pkgver}" install -D -m 755 -t ${pkgdir}/usr/bin target/release/devsync install -D -m 644 -t ${pkgdir}/usr/share/man/man1 devsync.1.gz }