blob: 7e87353be8014e814f70a825f65ee48fe71445c5 (
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
27
28
29
30
31
32
33
|
# Maintainer: Rainkord
pkgname=wallcraft-git
pkgver=0.1.1
pkgrel=1
pkgdesc="Graphical wallpaper manager for Hyprland with lock screen sync and slideshow"
arch=('x86_64')
url="https://github.com/Rainkord/WallCraft"
license=('MIT')
depends=('qt6-base' 'hyprpaper' 'mpvpaper' 'swww')
optdepends=('papirus-icon-theme: icon theme support')
makedepends=('cmake' 'ninja' 'qt6-tools' 'wayland-protocols')
provides=('wallcraft')
conflicts=('wallcraft' 'hyprwall' 'hyprwall-git')
source=("$pkgname::git+$url")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$pkgname"
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
cd "$pkgname"
DESTDIR="$pkgdir" cmake --install build
}
|