35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
|
pkgname=dmz-cursor-theme
|
||
|
pkgver=0.4.5
|
||
|
pkgrel=0
|
||
|
pkgdesc="Vanilla DMZ cursor theme"
|
||
|
arch="noarch"
|
||
|
url="http://jimmac.musichall.cz/"
|
||
|
license="CCPL:by-nc-sa"
|
||
|
makedepends="xcursorgen"
|
||
|
source="http://ftp.de.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.tar.xz"
|
||
|
subpackages="$pkgname-black"
|
||
|
options="!check"
|
||
|
|
||
|
build() {
|
||
|
cd "$builddir"
|
||
|
(cd DMZ-White/pngs ; ./make.sh)
|
||
|
(cd DMZ-Black/pngs ; ./make.sh)
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd "$builddir"
|
||
|
install -d "$pkgdir"/usr/share/icons/DMZ-White/cursors
|
||
|
cp -a DMZ-White/xcursors/* "$pkgdir"/usr/share/icons/DMZ-White/cursors
|
||
|
install -Dm644 DMZ-White/index.theme "$pkgdir"/usr/share/icons/DMZ-White/index.theme
|
||
|
}
|
||
|
|
||
|
black() {
|
||
|
pkgdesc="Vanilla DMZ Black cursor theme"
|
||
|
|
||
|
cd "$builddir"
|
||
|
install -d "$subpkgdir"/usr/share/icons/DMZ-Black/cursors
|
||
|
cp -a DMZ-Black/xcursors/* "$subpkgdir"/usr/share/icons/DMZ-Black/cursors
|
||
|
install -Dm644 DMZ-Black/index.theme "$subpkgdir"/usr/share/icons/DMZ-Black/index.theme
|
||
|
}
|
||
|
sha512sums="627fff9e4f690e30c6acbedb06035abc3ca7f6c6656a7e1290d752e115dbd8a41c37a2fe0d7cd7ece697c54dd7a343dd78d3c4604d124158961d95125f899f73 dmz-cursor-theme_0.4.5.tar.xz"
|