summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7105c2e73672ce42f1eb9176ec04635b8be26a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
### Maintainer: Gabriel Retana <isseigx at protonmail dot ch>

pkgname=lxqt-arc-dark-theme-git
pkgver=latest
pkgrel=1
pkgdesc="A dark theme for LXQt based on Arc"
arch=('any')
url="https://github.com/gabretana/lxqt-arc-dark-theme"
license=('GPL')
optdepends=('kvantum-theme-arc: recommended kvantum style')
_theme='arc-dark'
_repo='lxqt-arc-dark-theme'
source=("git+https://github.com/gabretana/lxqt-arc-dark-theme.git")
md5sums=('SKIP')

pkgver() {
  echo "$(git -C "${srcdir}/${_repo}" rev-list --count HEAD)"
}

package() {
  install -d "${pkgdir}"/usr/share/lxqt/themes/"${_theme}"
  cp -r "${srcdir}/${_repo}/${_theme}"/* "${pkgdir}"/usr/share/lxqt/themes/"${_theme}"/ --preserve=mode
}