summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea10b9fd218c7b27c723738e0c505c26c73c6f60 (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
34
35
36
37
38
39
40
41
42
# Maintainer: Jon Noble <jonnobleuk@gmail.com>
pkgname=chestnut
pkgver=0.1.0
pkgrel=3
pkgdesc="An open-source NLE video editor "
arch=(x86_64)
url="https://github.com/jonno85uk/chestnut"
license=('GPL3')
groups=()
depends=('ffmpeg' 'qt5-base' 'qt5-multimedia')
makedepends=('git' 'pkgconfig') 
provides=("${pkgname%}")
conflicts=()
replaces=()
backup=()
options=()
install=
source=('chestnut::git+https://github.com/jonno85uk/chestnut.git#commit=d46dbb5')
noextract=()
md5sums=('SKIP')

prepare() {
    cd "$srcdir/chestnut"
    qmake CONFIG+=release
    
}

build() {
    cd "$srcdir/chestnut"
    CORES=$(cat /proc/cpuinfo | grep -c "vendor_id")
    make -j${CORES} -l${CORES}
}

check() {
    cd "$srcdir"
}

package() {
    cd "$srcdir/chestnut"
    strip app/main/build/release/chestnut
    make INSTALL_ROOT=${pkgdir} install   
}