summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2b3b418a052685d085422f1040e7fdf448e273fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: Philip Goto <philip.goto@gmail.com>

pkgbase=chicago95-git
pkgname=(chicago95-gtk-theme-git
         chicago95-icon-theme-git
         xcursor-chicago95-git)
pkgver=3.0.1.r67.gbdf5cf3
pkgrel=1
pkgdesc="Windows 95 inspired theme"
arch=(any)
url="https://github.com/grassmunk/Chicago95"
license=('GPL')
depends=(gtk3)
makedepends=(git)
optdepends=(ttf-ms-fonts)
source=("git+https://github.com/grassmunk/Chicago95.git")
sha256sums=(SKIP)

pkgver() {
    cd Chicago95
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48
}

package_chicago95-gtk-theme-git() {
    pkgdesc="Windows 95 inspired GTK theme"
    provides=(chicago95-gtk-theme)
    conflicts=(chicago95-gtk-theme)

    cd Chicago95
    install -d "${pkgdir}/usr/share/themes/"
    cp -r "Theme/Chicago95/" "${pkgdir}/usr/share/themes/Chicago95/"
}

package_chicago95-icon-theme-git() {
    pkgdesc="Windows 95 inspired icon theme"
    provides=(chicago95-icon-theme)
    conflicts=(chicago95-icon-theme)

    cd Chicago95
    install -d "${pkgdir}/usr/share/icons/"
    cp -r "Icons/Chicago95/" "${pkgdir}/usr/share/icons/Chicago95/"
    cp -r "Icons/Chicago95-tux/" "${pkgdir}/usr/share/icons/Chicago95-tux/"
}

package_xcursor-chicago95-git() {
    pkgdesc="Windows 95 inspired cursors"
    provides=(xcursor-chicago95)
    conflicts=(xcursor-chicago95)

    cd Chicago95
    install -d "${pkgdir}/usr/share/icons/Chicago95_Cursor_Black/"
    cp -r "Cursors/Chicago95_Cursor_Black/cursors/" "${pkgdir}/usr/share/icons/Chicago95_Cursor_Black/cursors/"
    install -d "${pkgdir}/usr/share/icons/Chicago95_Cursor_White/"
    cp -r "Cursors/Chicago95_Cursor_White/cursors/" "${pkgdir}/usr/share/icons/Chicago95_Cursor_White/cursors/"
    install -d "${pkgdir}/usr/share/icons/Chicago95_Emerald/"
    cp -r "Cursors/Chicago95_Emerald/cursors/" "${pkgdir}/usr/share/icons/Chicago95_Emerald/cursors/"
}