summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f9990446c77369bec7376eb3ee3288f45551e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Amr Hassan <amr.hassan@gmail.com>
pkgname=weave
pkgver=0.1.2
pkgdesc="Extensions for status bars"
url="https://github.com/amrhassan/weave"
pkgrel=1
makedepends=('rust' 'cargo')
arch=('i686' 'x86_64' 'armv6h' 'armv7h')
license=('MIT')
source=("https://github.com/amrhassan/weave/archive/v${pkgver}.tar.gz")

build() {
  cd "$srcdir/weave-$pkgver"
  cargo build --release --locked --all-features --target-dir=target
}

package() {
  cd "$srcdir/weave-$pkgver"
  install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
}
md5sums=('b8bbfd2a3d61699e03de4b8105f19acf')