summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ee27cd79a0efa98b14244e516044614eff9810e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
pkgname=("openbox-theme-menda")
pkgver=r91.2759ebc
pkgrel=1
pkgdesc="Manjaro's Openbox theme"
arch=('any')
url="https://github.com/manjaro/artwork-menda"
conflicts=('menda-themes')
license=('GPL3')
source=(${pkgname}::'git+https://github.com/manjaro/artwork-menda.git')
sha1sums=('SKIP')

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

package() {
  install -dm755 "${pkgdir}/usr/share/themes"
  install -dm755 "${pkgdir}/usr/share/themes/Menda"

  install -Dm755 "${srcdir}/${pkgbase}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
  cp -r "${srcdir}/${pkgbase}/Menda/openbox-3" "${pkgdir}/usr/share/themes/Menda"
}