summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3aad7cfbcbba8f6493ec193b8b46bd331010dd71 (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
# Maintainer: Adrian Perez de Castro <aperez@igalia.com>
pkgname=xcursor-we10xos
pkgver=20201103
_commit=b971891cc016ba780af791ac9872a15406695ad8
pkgrel=2
pkgdesc='Cursor theme inspired by Windows 10'
license=(GPL)
url=https://github.com/yeyushengfan258/We10XOS-cursors
arch=(any)
makedepends=(git inkscape xorg-xcursorgen)
source=("${pkgname}::git+${url}#commit=${_commit}")
sha512sums=(SKIP)

build () {
	cd "${pkgname}"
	bash build.sh
}

package () {
	install -m755 -d "${pkgdir}/usr/share/icons"
	cp -pr "${pkgname}/dist" "${pkgdir}/usr/share/icons/We10XOS-cursors"

	find "${pkgdir}/usr/share/icons/We10XOS-cursors" \
		-type f -exec chmod 644 '{}' \;
	find "${pkgdir}/usr/share/icons/We10XOS-cursors" \
		-type d -exec chmod 755 '{}' \;
}