summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7f62b8e523cf5112497133e8dde19d3d5b8ecc04 (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
pkgname=plasma6-applets-caraoke-git
pkgver=r24.acdefb5
pkgrel=1
pkgdesc="kde widget for representation of karaoke styled lyrics."
arch=("any")
url="https://github.com/Copay/caraoke-plasmoid"
license=("LGPL-2.1-or-later")
depends=("plasma-workspace" "plasma5support")
makedepends=("git" "extra-cmake-modules" "cmake" "make")
provides=("plasma6-applets-caraoke")
conflicts=("plasma6-applets-caraoke")
source=("git+${url}.git#branch=kde6")
sha256sums=('SKIP')

pkgver(){
    cd "$srcdir/caraoke-plasmoid"
    echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build(){
    cmake -B build -S "$srcdir/caraoke-plasmoid" \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_BUILD_TYPE=None
    cmake --build build 
    
}
package(){
    DESTDIR="$pkgdir" cmake --install build
}