blob: b479aeb37e0811385baf1e08cfc5801fa355b3d6 (
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
25
26
|
# Maintainer : Daniel Chesters <daniel.chesters@gmail.com>
pkgname=i3wsr
pkgver=1.3.0
pkgrel=1
pkgdesc="A small program to change the name of an i3 workspace based on its contents."
url="https://github.com/roosta/i3wsr"
depends=('i3-wm')
makedepends=('cargo')
arch=('i686' 'x86_64')
license=('MIT')
source=("$pkgname-$pkgver.tar.gz::https://github.com/roosta/$pkgname/archive/v$pkgver.tar.gz")
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et:
b2sums=('38f8e212ab21bf1e6cce8b4bf317ee3334b33bf0002628413619f3d938aa52fc9787d7747904158fd9aeb63094a8ff2f4997a8d274a7a847c7ca57ba90f05c41')
|