blob: 9d39cf48ccb28e3655427562ce24f900222958ea (
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
40
41
42
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=oreo-cursors-git
pkgver=20220830.r66.6b6d9410
pkgrel=1
pkgdesc="Color material cursors with cute animations."
arch=('any')
url="https://github.com/varlesh/oreo-cursors"
license=('GPL-2.0-or-later')
makedepends=('git' 'ruby' 'gtk-engine-murrine' 'inkscape' 'libcanberra'
'xorg-xcursorgen')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
source=('git+https://github.com/varlesh/oreo-cursors.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
printf "%s.r%s.%s" "$(git show -s --format=%cd --date=format:%Y%m%d HEAD)" \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/${pkgname%-git}"
make clean
}
build() {
cd "$srcdir/${pkgname%-git}"
export NO_AT_BRIDGE=1
pushd generator
ruby convert.rb
popd
make build
}
package() {
cd "$srcdir/${pkgname%-git}"
make DESTDIR="$pkgdir" install
}
|