blob: 8c5e0b75b5a996793c62c4c4b582fec91ca70a0d (
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
|
# Maintainer: SoftExpert <softexpert at gmail dot com>
_pkgname=crystal-dock
pkgname=${_pkgname}-git
pkgver=r499.gaba6bc2
pkgrel=2
arch=(x86_64)
pkgdesc='A cool desktop panel for Linux desktop'
arch=('x86_64')
url='https://github.com/dangvd/crystal-dock'
license=('GPL3')
provides=(crystal-dock)
conflicts=(crystal-dock)
depends=(qt6-base wayland layer-shell-qt)
optdepends=(kwin)
makedepends=(cmake git extra-cmake-modules qt6-base wayland layer-shell-qt)
source=("${_pkgname}::git+https://github.com/dangvd/crystal-dock.git")
sha256sums=('SKIP')
pkgver(){
cd "${srcdir}/${_pkgname}"
printf "r%s.g%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/${_pkgname}"
mkdir -p build
cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
../src
make
}
package() {
cd "${srcdir}/${_pkgname}"
DESTDIR="${pkgdir}" cmake --install build
}
# vim:set ts=8 sts=2 sw=2 et:
|