-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathPKGBUILD
33 lines (28 loc) · 816 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
#Maintainer:
pkgname=newbreeze-git
pkgver=r270.d799c4e
pkgrel=1
pkgdesc="A fast and light-weight file manager based on Qt"
arch=('x86_64')
url="https://gitlab.com/marcusbritanicus/NewBreeze"
license=('GPL3')
depends=( 'djvulibre' 'poppler-qt5' 'ffmpegthumbnailer' 'qt5-webengine' 'qt5-base' 'qscintilla-qt5' 'libmediainfo' 'libarchive', 'encfs' )
makedepends=('git' )
provides=('newbreeze')
conflicts=('newbreeze')
source=("${pkgname}::git+https://gitlab.com/marcusbritanicus/NewBreeze.git")
md5sums=('SKIP')
pkgver() {
cd ${pkgname}
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
meson build --prefix=/usr --buildtype=release
meson compile -C build -j $(nproc) -k 0
}
package() {
meson install -C build --destdir "$pkgdir"
}