summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 66149c965e5728c72e53858a0dd14a569f8270bc (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
# Maintainer zan <zan@420blaze.it>

pkgname=dotherside-git
pkgver=v0.6.5.r16.ga7bfa38
pkgrel=1
pkgdesk="C language library for creating bindings for the Qt QML language "
arch=(x86_64)
url="https://github.com/filcuc/dotherside"
license=(LGPL)
depends=(qt5-quickcontrols2)
makedepends=(cmake git)
source=("git+https://github.com/filcuc/dotherside.git")
sha256sums=('SKIP')

pkgver() {
    cd ${pkgname%-git}
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -S ${pkgname%-git}
    cmake --build build
}

package() {
    DESTDIR="$pkgdir" cmake --install build
}