blob: ab42aa8e592f6e1be9e32135269a5fff2e2916de (
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
|
# Maintainer: Frikilinux <frikilinux@gmail.com>
pkgname=hyprland-plugin-hyprscroller-git
pkgver=r133.d3b4ac0
pkgrel=1
pkgdesc='Hyprland layout plugin providing a scrolling layout like PaperWM and Niri.'
arch=('x86_64')
license=('MIT')
depends=('hyprland')
makedepends=('git' 'cmake')
url='https://github.com/dawsers/hyprscroller'
source=("${pkgname}::git+${url}")
sha256sums=('SKIP')
pkgver() {
cd "$pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
build() {
cd "$pkgname"
make all
}
package() {
cd "$pkgname"
install -Dm644 -t "$pkgdir/usr/lib/hyprland-plugins/" "hyprscroller.so"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname%-git}/LICENSE"
}
|