summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 394fdd41c32c86cb4bc3e40850b31ad33d6a0415 (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=1.3.0.5.g1f06c351
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" "lxqt-menu-data-git")
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: