summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5666ec97889d49f0f2e35c092f797e20cc8b2286 (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
# Maintainer:  Peter Mattern <pmattern@arcor.de>

_pkgname=lxqt-themes
pkgname=$_pkgname-git
pkgver=r112.f1737e9
pkgrel=2
pkgdesc='Themes, graphics and icons for LXQt'
arch=('any')
url='https://github.com/lxde/lxqt-themes'
license=('LGPL')
depends=('hicolor-icon-theme')
makedepends=('git' 'cmake' 'lxqt-build-tools-git')
provides=("$_pkgname")
conflicts=("$_pkgname" "lxqt-common"{,-git})
source=("git+https://github.com/lxde/$_pkgname.git")
sha256sums=('SKIP')

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

build() {
      mkdir -p build
      cd build
      cmake "$srcdir/$_pkgname" -DCMAKE_INSTALL_PREFIX=/usr
      make
}

package() {
      cd build
      make DESTDIR="$pkgdir" install
}