mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Initial release
This commit is contained in:
commit
08ea839e8a
2 changed files with 62 additions and 0 deletions
17
.SRCINFO
Normal file
17
.SRCINFO
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pkgbase = wallity-git
|
||||
pkgdesc = A desktop wallpaper manager built with Rust and Iced for Wayland/Hyprland
|
||||
pkgver = r1.0000000
|
||||
pkgrel = 1
|
||||
url = https://github.com/asce4s/wallity-iced
|
||||
arch = x86_64
|
||||
license = MIT
|
||||
makedepends = cargo
|
||||
makedepends = git
|
||||
depends = wayland
|
||||
depends = gcc-libs
|
||||
provides = wallity
|
||||
conflicts = wallity
|
||||
source = wallity-git::git+https://github.com/asce4s/wallity-iced.git
|
||||
sha256sums = SKIP
|
||||
|
||||
pkgname = wallity-git
|
||||
45
PKGBUILD
Normal file
45
PKGBUILD
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
# Maintainer: Your Name <your@email.com>
|
||||
pkgname=wallity-git
|
||||
pkgver=r20.08008c6
|
||||
pkgrel=1
|
||||
pkgdesc="A desktop wallpaper manager built with Rust and Iced for Wayland/Hyprland"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/asce4s/wallity-iced"
|
||||
license=('MIT')
|
||||
depends=('wayland' 'gcc-libs')
|
||||
makedepends=('cargo' 'git')
|
||||
provides=('wallity')
|
||||
conflicts=('wallity')
|
||||
source=("${pkgname}::git+https://github.com/asce4s/wallity-iced.git")
|
||||
sha256sums=('SKIP')
|
||||
|
||||
pkgver() {
|
||||
cd "${pkgname}"
|
||||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
|
||||
}
|
||||
|
||||
prepare() {
|
||||
cd "${pkgname}"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${pkgname}"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
export CARGO_TARGET_DIR=target
|
||||
cargo build --frozen --release
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}"
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
cargo test --frozen --release
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}"
|
||||
install -Dm0755 -t "${pkgdir}/usr/bin/" "target/release/wallity"
|
||||
install -Dm0644 -t "${pkgdir}/usr/share/licenses/${pkgname}/" LICENSE
|
||||
install -Dm0644 -t "${pkgdir}/usr/share/doc/${pkgname}/" README.md
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue