summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6c3cd316b32e850a1ffc46c61bd3f1a1ee71c135 (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
# Maintainer: basigur

pkgname=mcos-mjv-nordic-theme
pkgver=2.3~r21.04572db
pkgrel=1
pkgdesc="It's GTK2,GTK3,XFCE4 Theme Mac OS Nordic"
arch=('any')
url="https://github.com/basigur/mcos-mjv-nordic-theme"
license=('GPL2')
depends=('gtk-engine-murrine')
makedepends=(git)
source=("$pkgname::git+https://github.com/basigur/$pkgname")

sha512sums=('SKIP')

pkgver() {
  cd "${pkgname}"

  echo "2.3~r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package(){
    cd "${pkgname}"
    install -d "${pkgdir}/usr/share/themes"
    install -d "${pkgdir}/usr/share/doc/$pkgname"

    install -Dm 0644 {README.md,doc/'READ ME',doc/'COPYING'} "${pkgdir}/usr/share/doc/$pkgname"
    install -Dm 0644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
    cp -R {'McOS-MJV-Dark-Nordic','McOS-MJV-Nordic'} "${pkgdir}"/usr/share/themes/
}