summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7fa76ff67b222e5c159c398084f5beb0b717786e (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
pkgname=openbox-theme-bluebird-openboxed
pkgver=20201024.r9.323f528
pkgrel=1
epoch=1
pkgdesc="Bluebird theme for Openbox, based on Numix."
arch=('any')
url="https://github.com/scienzedellevanghe/Bluebird-openboxed"
license=('GPL3')
depends=('openbox')
makedepends=('git')
optdepends=('xfce-theme-bluebird' 'xfce-theme-greybird')
source=('git+https://github.com/scienzedellevanghe/Bluebird-openboxed.git')
md5sums=('SKIP')

pkgver() {
  cd Bluebird-openboxed

  printf "%s.r%s.%s" "$(git log -1 --format=%cd --date=short |
  sed 's/\-//g')" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd Bluebird-openboxed

  install -d -m 755 "$pkgdir"/usr/share/themes/Bluebird-openboxed/
  cp -r openbox-3/  "$pkgdir"/usr/share/themes/Bluebird-openboxed/
}