summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b179178d5de45cc243f23b23cf62e8a8d3e63d41 (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
# Maintainer: Raymond W. Ko <raymond.w.ko@gmail.com>

pkgname=gtk-theme-clearlooks-flat-compact
pkgver=r17.e115648
pkgrel=1
pkgdesc="Clearlooks-flat-compact theme for GTK2, GTK3, metacity, and openbox"
arch=('any')
url="https://github.com/linvinus/Clearlooks-flat-compact"
license=('GPL')
makedepends=('git')
# The git repo is detected by the 'git:' or 'git+' beginning.
#source=('git+https://github.com/falconindy/expac.git'
# The repo is cloned into '$pkgname' (optional).
source=("$pkgname"::'git://github.com/linvinus/Clearlooks-flat-compact')
# Because the sources are not static, skip Git checksum:
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  # Use the tag of the last commit
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "$srcdir/$pkgname"
  pwd
}

package() {
  pwd
  echo $pkgdir
  mkdir -p "$pkgdir/usr/share/themes/Clearlooks-flat-compact"
  cd "$srcdir/$pkgname"
  mv * "$pkgdir/usr/share/themes/Clearlooks-flat-compact"
}