summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f1fb1351bd622601bb3a92dc770ce9f8ea1277f7 (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
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=newbreeze-git
pkgver=v3.0.0.rc8.r24.a2c49b7
pkgrel=1
pkgdesc="A fast and light-weight file manager based on Qt"
arch=('x86_64')
url="https://gitlab.com/marcusbritanicus/NewBreeze"
license=('GPL')
depends=('qt5-base' 'qscintilla-qt5' 'jbig2dec' 'qt5-webengine' 'poppler' 'mpv' 'djvulibre' 'poppler-qt5' 'ffmpegthumbnailer' 'libarchive-qt' 'qdocumentview-git' 'mediainfo' 'qtermwidget' 'libzip')
makedepends=('git' 'lz4' 'meson')
provides=("${pkgname%-VCS}")
conflicts=("${pkgname%-VCS}")
options=()
replaces=()
source=('git+https://gitlab.com/marcusbritanicus/NewBreeze.git')
sha256sums=('SKIP')

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

build() {
	arch-meson NewBreeze build
	ninja -C build
}

package() {
	DESTDIR="$pkgdir/" ninja -C build install
}