summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c85216f7f6a820dfc14dd7d39b6547fa8e80126b (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
# Maintainer: Jerome Leclanche <jerome@leclan.ch>

_pkgname=lxqt-config
pkgname=$_pkgname-git
pkgver=0.13.0.580.g0e92bb1
pkgrel=1
pkgdesc="LXQt system configuration."
arch=("i686" "x86_64")
url="https://lxqt.org"
license=("GPL2")
depends=("liblxqt-git" "libkscreen" "libxcursor" "qt5-svg" "hicolor-icon-theme")
makedepends=("git" "cmake" "qt5-tools" "lxqt-build-tools-git" "xf86-input-libinput")
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/lxqt/$_pkgname.git")
sha256sums=('SKIP')


pkgver() {
  cd "$_pkgname"
  git describe --always | sed "s/-/./g"
}

prepare() {
  cd "$_pkgname"

  mkdir -p build
}

build() {
  cd "$_pkgname/build"

  cmake \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_LIBDIR=lib \
    ..

  make
}

package() {
  cd "$_pkgname/build"

  make DESTDIR="$pkgdir" install
}

# vim: set ts=2 sw=2 et: