🔒 Repository is read-only – file editing is disabled.

recipes/gui/xcursor-dmz/PAGBUILD.yaml main

45 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839404142434445
pkgname: 'xcursor-dmz'
pkgver: '0.4.5.3'
pkgrel: '1'
pkgdesc: 'Style neutral, scalable cursor theme'
url: 'https://packages.debian.org/sid/dmz-cursor-theme'
arch: x86_64
license:
- CC-BY-SA-3.0
depends: []
makedepends:
- 'xorg-xcursorgen'

source:
- 'https://deb.debian.org/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd dmz-cursor-theme-${pkgver}

  # Generowanie kursorów ze źródeł PNG dla wariantu White
  cd DMZ-White/pngs
  ./make.sh
  cd ..
  mv xcursors cursors
  mv index.theme cursor.theme
  rm -rf dmz.svg pngs
  cd ..

  # Generowanie kursorów ze źródeł PNG dla wariantu Black
  cd DMZ-Black/pngs
  ./make.sh
  cd ..
  mv xcursors cursors
  mv index.theme cursor.theme
  rm -rf dmz-aa.svg pngs
  cd ..

package: |
  cd dmz-cursor-theme-${pkgver}

  install -dm755 "${PKGDIR}/usr/share/icons"
  cp -R DMZ-Black "${PKGDIR}/usr/share/icons/"
  cp -R DMZ-White "${PKGDIR}/usr/share/icons/"