summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fcb203bef0cf88f2e367aae6b1b155c9c40c1d5e (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
# Maintainer: Simon Paul <simonpaul at mailbox dot org>

pkgname=numix-themes-osx-git
pkgver=1.2.ea4c2bd
pkgrel=1
pkgdesc='A modified version of the Numix GTK theme modeled to look somewhat like OSX'
arch=('any')
url='http://numixproject.org/'
license=('GPL3')
depends=('gtk-engine-murrine')
makedepends=('git')
provides=('numix-themes-osx')
conflicts=('numix-themes-osx')
source=('numix-themes::git+https://github.com/samhorlbeck/Numix-OSX.git')
md5sums=('SKIP')

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

package() {
  cd numix-themes
  install -dm 755 "${pkgdir}"/usr/share/themes/Numix-OSX
  rm -rf .git .gitignore
  cp -dr --no-preserve='ownership' * "${pkgdir}"/usr/share/themes/Numix-OSX/
}