summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9a5715145e44055123df4f4fc3d7bd2745bc9392 (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
# Maintainer: Jay Tauron <jytrn@protonmail.com>
# Thanks to https://github.com/yochananmarqos for the PKGBUILD
pkgname=oreo-nord-cursors-git
pkgver=20210212.r45.314d4eb
pkgrel=1
epoch=
pkgdesc="Fork of oreo-cursors with Nord colors"
arch=('any')
url="https://github.com/0jdxt/oreo-nord-cursors"
license=('GPL2')
makedepends=('git' 'inkscape' 'xorg-xcursorgen')
provides=()
conflicts=()
options=('!strip')
source=("git+$url.git")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	printf "20210212.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
	cd "$srcdir/${pkgname%-git}"
	make clean
}

build() {
	cd "$srcdir/${pkgname%-git}"
	make build
}

package() {
	cd "$srcdir/${pkgname%-git}"
	make DESTDIR="$pkgdir/" install
}