diff options
author | Gergő Sályi | 2023-04-08 00:42:19 +0200 |
---|---|---|
committer | Gergő Sályi | 2023-04-08 00:42:19 +0200 |
commit | e0b27d4397e1f2a3a429a06b9f03336a0c325a08 (patch) | |
tree | bd40103aa3b71e86393d6fc9256d25fe034792ed | |
download | aur-e0b27d4397e1f2a3a429a06b9f03336a0c325a08.tar.gz |
Initial release
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 50 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..afeca3767008 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = multibg-sway + pkgdesc = Set a different wallpaper for the background of each Sway workspace + pkgver = 0.1.0 + pkgrel = 1 + url = https://github.com/gergo-salyi/multibg-sway + arch = x86_64 + arch = i686 + arch = pentium4 + arch = armv7h + arch = aarch64 + license = MIT + license = Apache + makedepends = cargo + depends = gcc-libs + depends = glibc + optdepends = sway: window manager to set the wallpapers with + source = multibg-sway-0.1.0.tar.gz::https://static.crates.io/crates/multibg-sway/multibg-sway-0.1.0.crate + sha256sums = e7a445d07c377bb23e691f3667540add098312d471e1b95d5e56691638f9c58c + +pkgname = multibg-sway diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9bc4fe5627cd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Gergő Sályi <salyigergo94@gmail.com> +pkgname=multibg-sway +pkgver=0.1.0 +pkgrel=1 +pkgdesc='Set a different wallpaper for the background of each Sway workspace' +arch=('x86_64' 'i686' 'pentium4' 'armv7h' 'aarch64') +url="https://github.com/gergo-salyi/multibg-sway" +license=('MIT' 'Apache') +depends=('gcc-libs' 'glibc') +makedepends=('cargo') +optdepends=('sway: window manager to set the wallpapers with') +source=("$pkgname-$pkgver.tar.gz::https://static.crates.io/crates/$pkgname/$pkgname-$pkgver.crate") +sha256sums=('e7a445d07c377bb23e691f3667540add098312d471e1b95d5e56691638f9c58c') + +prepare() { + cd "$pkgname-$pkgver" + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" +} + +build() { + cd "$pkgname-$pkgver" + cargo build --frozen --release +} + +package() { + cd "$pkgname-$pkgver" + install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/$pkgname" + install -Dm644 "README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md" + install -Dm644 "LICENSE-MIT" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-MIT" +} |