summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f9b3957ea9335c17c9cdaa8e84d470597c567903 (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
# Maintainer:  Peter Mattern <pmattern at arcor dot de>

_pkgname=lxqt-appswitcher
pkgname=$_pkgname-git
pkgver=r7.a59993d
pkgrel=3
pkgdesc="Third party, more feature rich application switcher."
arch=("i686" "x86_64")
url="https://github.com/zjes/lxqt-appswitcher"
license=("unknown")
depends=("lxqt-globalkeys-git")
makedepends=("git" "cmake")
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+https://github.com/zjes/lxqt-appswitcher.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
}