-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
36 lines (32 loc) · 969 Bytes
/
PKGBUILD
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
# Maintainer: FadeMind <[email protected]>
# Contributor: Presence <hidden mail data>
# Contributor: username227 <gfrank227 [at] gmail [dot] com
pkgname=kdocker-git
_pkgname=kdocker
pkgver=6.0.r6.ef34beb
pkgrel=1
pkgdesc="An application to help you dock any application into the system tray (git version)"
arch=('i686' 'x86_64')
url="https://github.com/user-none/KDocker"
license=('GPL2')
depends=('qt6-base' 'libxpm' 'libxmu')
conflicts=("${_pkgname}")
replaces=("${_pkgname}")
makedepends=('git' 'ninja' 'clang' 'make' 'gcc' 'cmake')
source=("$_pkgname::git+$url.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "%s" "$(git describe --long --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g;s/^v//')"
}
build() {
cd "$srcdir/$_pkgname"
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-Wno-dev
ninja -C build
}
package() {
DESTDIR="$pkgdir/" ninja -C $srcdir/kdocker/build install
}