diff --git a/srcpkgs/xcursor-vanilla-dmz-aa b/srcpkgs/xcursor-vanilla-dmz-aa new file mode 120000 index 0000000000..dd2b9f900d --- /dev/null +++ b/srcpkgs/xcursor-vanilla-dmz-aa @@ -0,0 +1 @@ +xcursor-vanilla-dmz \ No newline at end of file diff --git a/srcpkgs/xcursor-vanilla-dmz-aa/template b/srcpkgs/xcursor-vanilla-dmz-aa/template deleted file mode 100644 index 19ca82f1bc..0000000000 --- a/srcpkgs/xcursor-vanilla-dmz-aa/template +++ /dev/null @@ -1,24 +0,0 @@ -# Template file for 'xcursor-vanilla-dmz-aa' -pkgname=xcursor-vanilla-dmz-aa -version=0.4.4 -revision=1 -noarch=yes -build_style=fetch -hostmakedepends="xcursorgen" -short_desc="Vanilla DMZ AA cursor theme" -maintainer="Jerry Tegno " -license="CCPL:by-nc-sa" -homepage="http://jimmac.musichall.cz/" -distfiles="${DEBIAN_SITE}/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.gz" -checksum=46af4cf1356df799f9ee94451f05d0bdbb8d82e54bdeae3f32fa107602359981 - -do_install() { - tar xzf dmz-cursor-theme_${version}.tar.gz - cd dmz-cursor-theme-${version} - (cd DMZ-Black/pngs ; ./make.sh) - - vmkdir /usr/share/icons - vmkdir /usr/share/icons/Vanilla-DMZ-AA/cursors - vcopy DMZ-Black/xcursors/* /usr/share/icons/Vanilla-DMZ-AA/cursors - vinstall DMZ-Black/index.theme 644 /usr/share/icons/Vanilla-DMZ-AA/index.theme -} diff --git a/srcpkgs/xcursor-vanilla-dmz/template b/srcpkgs/xcursor-vanilla-dmz/template index 975de0e98c..15fb8b4acc 100644 --- a/srcpkgs/xcursor-vanilla-dmz/template +++ b/srcpkgs/xcursor-vanilla-dmz/template @@ -1,24 +1,29 @@ # Template file for 'xcursor-vanilla-dmz' pkgname=xcursor-vanilla-dmz -version=0.4.4 +version=0.4.5 revision=1 +wrksrc="dmz-cursor-theme-${version}" noarch=yes -build_style=fetch hostmakedepends="xcursorgen" -short_desc="Vanilla DMZ cursor theme" +short_desc="Vanilla DMZ cursor theme (White)" maintainer="Jerry Tegno " license="CCPL:by-nc-sa" -homepage="http://jimmac.musichall.cz/" -distfiles="${DEBIAN_SITE}/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.gz" -checksum=46af4cf1356df799f9ee94451f05d0bdbb8d82e54bdeae3f32fa107602359981 +homepage="https://salsa.debian.org/gnome-team/dmz-cursor-theme" +distfiles="${DEBIAN_SITE}/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.xz" +checksum=b719a64ed9c51905743105e5a50b15492695929ab2d6fca2cea760d52ccd1f5c do_install() { - tar xzf dmz-cursor-theme_${version}.tar.gz - cd dmz-cursor-theme-${version} (cd DMZ-White/pngs ; ./make.sh) - - vmkdir /usr/share/icons - vmkdir /usr/share/icons/Vanilla-DMZ/cursors - vcopy DMZ-White/xcursors/* /usr/share/icons/Vanilla-DMZ/cursors - vinstall DMZ-White/index.theme 644 /usr/share/icons/Vanilla-DMZ/index.theme + vinstall DMZ-White/index.theme 644 usr/share/icons/Vanilla-DMZ + vcopy DMZ-White/xcursors usr/share/icons/Vanilla-DMZ/cursors } + +xcursor-vanilla-dmz-aa_package() { + short_desc="${short_desc/White/Black}" + pkg_install() { + (cd DMZ-Black/pngs ; ./make.sh) + vinstall DMZ-Black/index.theme 644 usr/share/icons/Vanilla-DMZ-AA + vcopy DMZ-Black/xcursors usr/share/icons/Vanilla-DMZ-AA/cursors + } +} +