summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0386625ad3a379cbbce09a1783f534f56ce6ed3f (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: justforlxz <justforlxz@gmail.com>

pkgname=deepin-gtk-theme-git
_pkgname=deepin-gtk-theme
pkgver=2020.06.10.r34.g773c9f6
pkgrel=1
pkgdesc="Deepin GTK Theme"
arch=('any')
url="https://github.com/linuxdeepin/deepin-gtk-theme"
makedepends=('git')
license=('LGPL3')
optdepends=('gtk-engine-murrine: for gtk2 themes')
groups=('deepin-git')
conflicts=($_pkgname)
provides=($_pkgname)
source=("git+https://github.com/linuxdeepin/deepin-gtk-theme.git")
sha512sums=('SKIP')

pkgver() {
    cd $srcdir/$_pkgname
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

package() {
  cd $srcdir/$_pkgname
  make DESTDIR="$pkgdir" install
}