blob: 1eeaece65a12b650b1c6d21c66c2ecd32e0e2c87 (
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
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Juliette Monsel <j_4321 at protonmail dot com>
# Contributor: Hugo Rodrigues <hugorodrigues at openmailbox dot com>
pkgname=xcursor-dmz
pkgver=0.4.5
pkgrel=2
pkgdesc="Style neutral, scalable cursor theme"
arch=('any')
url="https://packages.debian.org/sid/dmz-cursor-theme"
license=('MIT')
groups=('x11')
makedepends=('xorg-xcursorgen')
source=("http://cdn.debian.net/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${pkgver}."{tar.xz,dsc}
"LICENSE"
"xcursor-dmz.patch")
sha256sums=('b719a64ed9c51905743105e5a50b15492695929ab2d6fca2cea760d52ccd1f5c'
'e214d75442fc040d53b74c108a798239dfffa641173475a07ea43bd7e0f56311'
'40dfbfc2cbe54d70a3c9de047d4aa8e8c7ebb4f41a5b0290d4bb36e2a2a5326f'
'989c14da9dbc89bef338537b0b337a6ba21611691ba0ad5c42c69a65b889bdc6')
validpkgkey=('4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D')
prepare() {
cd $srcdir/dmz-cursor-theme-${pkgver}
patch -Np1 -i "${srcdir}/xcursor-dmz.patch"
}
build() {
cd $srcdir/dmz-cursor-theme-${pkgver}
rm -r debian renderpngs.py
cd DMZ-White/pngs
./make.sh
cd ..
mv xcursors cursors
rm -r dmz.svg index.theme pngs
cd ..
cd DMZ-Black/pngs
./make.sh
cd ..
mv xcursors cursors
rm -r dmz-aa.svg index.theme pngs
cd ..
}
package() {
install -dm755 "$pkgdir/usr/share/icons/"
cp -R "$srcdir/dmz-cursor-theme-${pkgver}/DMZ-White" "$pkgdir/usr/share/icons/"
cp -R "$srcdir/dmz-cursor-theme-${pkgver}/DMZ-Black" "$pkgdir/usr/share/icons/"
install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|