blob: 432b2158f0c87f78baa0308ff1f55f4aeb3a7744 (
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
|
_pkgname=bibata_cursor
pkgname=bibata-cursor-git
pkgver=0.1.r11.2fdeee7
pkgrel=1
pkgdesc='Bibata Cursor Themes, including hyprcursor and Xcursor'
arch=('any')
url="https://github.com/rtgiskard/${_pkgname}"
license=('GPL-3.0-or-later')
conflicts=('bibata-cursor-theme')
makedepends=('git' 'librsvg' 'python' 'xorg-xcursorgen')
options=('!strip')
source=("git+https://github.com/rtgiskard/${_pkgname}.git")
b2sums=('SKIP')
pkgver() {
git -C ${_pkgname} describe --long --tags | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}
build() {
cd ${_pkgname}
./cursor_utils.py --hypr --x11 --x11-symlink adwaita --out-dir out
}
package() {
cd ${_pkgname}
install -d "$pkgdir/usr/share/icons"
cp -r out/Bibata-* "$pkgdir/usr/share/icons/"
}
|