testing/chicago95: upgrade to git tag and add cursor icons

This commit is contained in:
adamthiede 2024-06-19 13:37:41 -05:00 committed by Kevin Daudt
parent 149be89230
commit 0155cb2dbe

View File

@ -1,7 +1,10 @@
# Contributor: Adam Thiede <me@adamthiede.com>
# Maintainer: Adam Thiede <me@adamthiede.com>
pkgname=chicago95
pkgver=3.0.1
_pkgbase=3.0.1
_pkgdate=20240619
pkgver=${_pkgbase}_git$_pkgdate
_commit="bdf5cf36a16102aaac297f3de887c601c2b1146f"
pkgrel=0
pkgdesc="Windows 95 gtk theme, icons, and fonts"
url="https://github.com/grassmunk/chicago95"
@ -9,9 +12,9 @@ arch="noarch"
license="GPL-3.0-or-later"
depends="$pkgname-icons"
subpackages="$pkgname-icons $pkgname-fonts"
source="$pkgname-$pkgver.tar.gz::https://github.com/grassmunk/Chicago95/archive/refs/tags/v$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/grassmunk/Chicago95/archive/$_commit.tar.gz"
options="!check" # no tests, just a theme
builddir="$srcdir/Chicago95-$pkgver"
builddir="$srcdir/Chicago95-$_commit"
package() {
mkdir -p "$pkgdir"/usr/share/themes/
@ -19,14 +22,14 @@ package() {
mkdir -p "$pkgdir"/usr/share/icons/
cp -a Icons/Chicago95 Icons/Chicago95-tux "$pkgdir"/usr/share/icons/
cp -a Cursors/* "$pkgdir"/usr/share/icons/
mkdir -p "$pkgdir"/usr/share/fonts/Chicago95/
cp -a Fonts/bitmap Fonts/vga_font "$pkgdir"/usr/share/fonts/Chicago95/
}
icons() {
amove /usr/share/icons/Chicago95
amove /usr/share/icons/Chicago95-tux
amove /usr/share/icons
}
fonts() {
@ -34,5 +37,5 @@ fonts() {
}
sha512sums="
361b871d111f4a7a96680d61c47f1e89a38a26cee3aea1c636b24c4e5a60972b1d79d43200f3f6a2e64f27ff37ca71c781da699cc18461ffdd6f9220741101f9 chicago95-3.0.1.tar.gz
f48221ac2b64b66fd08def6f217abd497bcbe76483a9dee54cfedc09f63216033b9207235371f012068b3074b8573265ee19ec95cb06c8c39b5055342fea643e chicago95-3.0.1_git20240619.tar.gz
"