blob: b71b6c06ce6f668211700c5258a1ef63650047df (
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
|
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Contributor: Gustavo Castro < gustawho [ at ] gmail [ dot ] com >
pkgname=mauikit-filebrowsing-git
pkgver=4.0.0.r2.gd4569fa
pkgrel=1
pkgdesc="MauiKit File Browsing utilities and controls"
arch=(x86_64 i686 armv7h aarch64)
url="https://invent.kde.org/maui/mauikit-filebrowsing"
license=(GPL3)
depends=(mauikit-git kio)
makedepends=(git cmake extra-cmake-modules)
provides=(mauikit-filebrowsing)
conflicts=(mauikit-filebrowsing)
source=("git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "mauikit-filebrowsing"
git describe --long --tags --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -B build -S "mauikit-filebrowsing" -Wno-dev \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="${pkgdir}" cmake --install build
}
|