summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8106588279da6490702c0a52f88876189873d9a3 (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
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgbase=xcursor-simp1e
pkgname=(xcursor-simp1e{,-dark,-breeze})
pkgdesc='An aesthetic cursor theme'
pkgver=0.0.20210227
pkgrel=1
url=https://gitlab.com/zoli111/simp1e/
_commit=1ec1162934606861cda71b4658a50df597fa52e1
arch=(any)
makedepends=(git inkscape python2 xorg-xcursorgen)
depends=()
license=(GPL3)
source=("${pkgname}::git+${url}?commit=${_commit}")
sha512sums=(SKIP)

_variants=(Simp1e Simp1e-dark Simp1e-breeze)

build () {
	cd "${pkgname}"
	yes | ./build.sh
}

_package () {
	install -dm755 "${pkgdir}/usr/share/icons"
	cp -a "${pkgbase}/BuiltThemes/$1/$1" "${pkgdir}/usr/share/icons"
}

package_xcursor-simp1e () {
	_package Simp1e
}

package_xcursor-simp1e-dark () {
	_package Simp1e-dark
}

package_xcursor-simp1e-breeze () {
	_package Simp1e-breeze
}