pkgbuild
This commit is contained in:
parent
b5faff6871
commit
2a25fca874
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1,3 @@
|
|||
/target
|
||||
packaging/*/
|
||||
packaging/sway-flash-indicator*
|
||||
|
|
24
packaging/PKGBUILD
Normal file
24
packaging/PKGBUILD
Normal file
|
@ -0,0 +1,24 @@
|
|||
# Maintainer: Alex Janka <alex@alexjanka.com>
|
||||
|
||||
pkgname=sway-flash-indicator
|
||||
pkgver=0.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="flashes sway indicator border rather than always showing it"
|
||||
arch=('x86_64' 'aarch64')
|
||||
url="https://git.alexjanka.com/alex/sway-flash-indicator"
|
||||
license=('custom')
|
||||
makedepends=('cargo')
|
||||
source=("sway-flash-indicator::git+https://git.alexjanka.com/alex/sway-flash-indicator")
|
||||
sha512sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd "sway-flash-indicator"
|
||||
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "sway-flash-indicator"
|
||||
|
||||
install -Dm755 "target/release/sway-flash-indicator" "$pkgdir/usr/bin/sway-flash-indicator"
|
||||
}
|
Loading…
Reference in a new issue