summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 41e384627041659a8246ba66436e4b27c5fc3d24 (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
43
44
45
46
47
48
# Maintainer: Luis Martinez <luis dot martinez at tuta dot io>
pkgbase=gtk-theme-bubble-git
pkgname=('gtk-theme-bubble-dark-git'
         'gtk-theme-bubble-darker-git'
         'gtk-theme-bubble-lighter-git')
pkgver=r140.60cd4f9
pkgrel=1
pkgdesc="A GTK theme based on Arc-Theme"
arch=('any')
url="https://github.com/i-mint/Bubble"
license=('GPL3')
depends=('gtk3>=3.22')
makedepends=('git')
source=("$pkgbase::git+$url")
sha256sums=('SKIP')

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

package_gtk-theme-bubble-dark-git()  {
  provides=("${pkgname%-git}" "${pkgbase%-git}")
  conflicts=("${pkgname%-git}")

  cd "$pkgbase"
  find Bubble-Dark \
    -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/themes/{}" \;
}

package_gtk-theme-bubble-darker-git()  {
  provides=("${pkgname%-git}" "${pkgbase%-git}")
  conflicts=("${pkgname%-git}")

  cd "$pkgbase"
  find Bubble-Darker \
    -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/themes/{}" \;
}

package_gtk-theme-bubble-lighter-git()  {
  provides=("${pkgname%-git}" "${pkgbase%-git}")
  conflicts=("${pkgname%-git}")

  cd "$pkgbase"
  find Bubble-Lighter \
    -type f -exec install -Dm 644 '{}' "$pkgdir/usr/share/themes/{}" \;
}