blob: cd5ec5f3c99acdeb355e046258a48bb2d3de8b3e (
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
|
# Maintainer: Samuel Laurén <samuel.lauren@iki.fi>
pkgname=run-or-raise
pkgver=0.3.1
pkgrel=1
pkgdesc="Utility for launching applications or focusing their windows"
arch=("x86_64")
url="https://github.com/Soft/run-or-raise"
license=("GPL3")
depends=("libxcb")
makedepends=("rust" "cargo" "python")
source=("https://github.com/Soft/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=("c5e913aa95e30d76eb3c62a1f6b219bac884753a27d5487fbb69fe4d1208b06c")
build() {
cd "$srcdir/${pkgname}-${pkgver}"
cargo build --release
}
package() {
cd "$srcdir/${pkgname}-${pkgver}"
install -D -m755 -D target/release/${pkgname} "$pkgdir/usr/bin/${pkgname}"
install -D -m644 -D man/${pkgname}.1 "$pkgdir/usr/share/man/man1/${pkgname}.1"
}
# vim:set ts=2 sw=2 et:
|