summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0cad1d37956cea985872c13f297fd25e16946105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
pkgname=pijul
pkgver=0.12.0
pkgrel=1
pkgdesc="Patch-based distributed version control system"
url='https://pijul.org'
makedepends=('cargo')
depends=('gcc-libs' 'libsodium' 'clang')
arch=('i686' 'x86_64')
license=('GPL')
source=("${url}/releases/${pkgname}-${pkgver}.tar.gz")
sha256sums=('987820fa2a6fe92a9f516f5e9b41ad59a597973e72cb0c7a44ca0f38e741a7e6')

build() {
  cd $srcdir/"$pkgname-$pkgver"
  cargo build --release
}

package() {
  cd $srcdir/"$pkgname-$pkgver"
  install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
}