pmaports/main/dmz-cursor-theme/APKBUILD
Luca Weiss 8c2a95dbe2
unity8: initial packaging (!27)
* Mir starts up and is able to display system settings
* x86_64 only for now, because at least ubuntu-app-test did not build
  on aarch64

Based on PureTryOut's work. Getting it to this stage was a huge effort
(as it shows in the package count: 111(!)). See the merge request for
details.

[skip ci]: this won't finish in CI; ollieparanoid made sure that
           everything builds for x86_64.
2019-02-13 21:47:29 +01:00

34 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"