summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 83cbbc8a9530f7adc0a5faf9bdeac80f1363b4d5 (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
# Maintainer: Patrick Wozniak <hello@patwoz.de>

pkgname=openbox-arc-git
pkgver=20160330.r10.b39574d
pkgrel=1
pkgdesc="An attempt to create Openbox themes to fit with the rest of the Arc theme. (git)"

arch=('any')
url="https://github.com/dglava/arc-openbox"
license=('GPL3')

depends=(
  'openbox'
  'gtk-engine-murrine'
)
makedepends=(
  'git'
)

conflicts=()
backup=()

source=(
  "$pkgname::git+$url.git#branch=master"
)
sha256sums=(
  'SKIP'
)

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

package() {
  cd "$pkgname"

  install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

  mkdir -p ${pkgdir}/usr/share/themes
  ls | grep -e '^Arc' | xargs cp -R -t "${pkgdir}/usr/share/themes"
}