aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48fd20db771c6acb46e4f27457f71ed3ffb63914 (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: Conrad Kleinespel <conradk@conradk.com>

pkgname=rooster
pkgver=2.13.0
pkgrel=1
pkgdesc="A simple password manager"
url="https://github.com/conradkleinespel/rooster"
makedepends=('cargo' 'pkg-config' 'libx11' 'libxmu' 'python3')
depends=('libx11' 'libxmu' 'xsel' 'wl-clipboard')
arch=('i686' 'x86_64')
license=('Apache-2.0')
source=("$pkgname-$pkgver.tar.gz::https://github.com/conradkleinespel/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('09d549ba03d7dfb605001667c7c7cc75877f6b70a05df45ff97a963b924e59d5')

build() {
  cd "$pkgname-$pkgver"
  sed -i 's# path = "../[a-z0-9]\+",##g' Cargo.toml
  cargo build --release
}

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