summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6aec8b73e303891fb53350239650cf94258e1665 (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
pkgname=memphis98-icon-theme-git
_pkgname=Memphis98
pkgver=r32.2d0c5fe
pkgrel=1
pkgdesc="Icon pack for KDE Plasma and LXQt based on famous Windows 98/2000 icons"
arch=('any')
makedepends=('git')
license=('GPL3')
url="https://github.com/Stanton731/$_pkgname"
source=("git+${url}")
sha256sums=('SKIP')
options=('!strip')

pkgver() {
    cd "$srcdir/$_pkgname"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

shopt -s extglob

package_memphis98-icon-theme-git() {
    provides=('memphis98-icon-theme')

    mkdir -p "$pkgdir/usr/share/icons/Memphis98"

    cd "$_pkgname"

    cp -r !(Preview.png|README.md) "$pkgdir/usr/share/icons/Memphis98"
}