summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: eef6a40daaa18d4469469635909e81f53b4e311e (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
# Maintainer: Diab Neiroukh <lazerl0rd at thezest dot dev>

pkgname="layan-cursor-theme-git"
pkgver="r2.7a37de2"
pkgrel=1
epoch=2
arch=("any")
pkgdesc="A x-cursor theme inspired by the Layan GTK Theme and based on Capitaine Cursors."
url="https://github.com/vinceliuice/Layan-cursors"
license=(
	"GPL3"
)
makedepends=(
	"git"
)
provides=(
	"layan-cursor-theme"
)
source=(
	"git+$url.git"
)
b2sums=(
	"SKIP"
)

pkgver()
{
	cd "Layan-cursors"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package()
{
	install -d "$pkgdir/usr/share/icons"
	cd "Layan-cursors"
	cp -r "dist" "$pkgdir/usr/share/icons/Layan-cursors"
	cp -r "dist-border" "$pkgdir/usr/share/icons/Layan-border-cursors"
	cp -r "dist-white" "$pkgdir/usr/share/icons/Layan-white-cursors"
}