blob: 0198e03704aaecacfc89ed169a106443ebba52c5 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: gigas002 <gigas002@pm.me>
pkgname=sweet-cursors-hyprcursor-git
_reponame=Sweet
_pkgname=Sweet-cursors-hyprcursor
pkgver=r371.2beb340
pkgrel=2
pkgdesc="Sweet cursor theme for hyprcursor"
arch=('x86_64')
url="https://github.com/EliverLara/$_reponame"
license=('GPL3')
makedepends=('git' 'inkscape')
depends=('hyprcursor')
optdepends=()
provides=("Sweet-cursors-hyprcursor")
conflicts=()
options=('!strip')
patch="cursors.patch"
source=("git+$url.git#branch=nova")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_reponame"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd $srcdir/$_reponame
patch -p1 -i ../../$patch
}
build() {
cd "$srcdir/$_reponame/kde/cursors"
chmod +x build_hyprcursors.sh
./build_hyprcursors.sh
}
package() {
cd "$srcdir/$_reponame/kde"
mkdir -p $pkgdir/usr/share/icons
mv -f cursors/theme_$_pkgname cursors/$_pkgname
mv -f cursors/$_pkgname $pkgdir/usr/share/icons
}
|