summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e42790b3a17b9ec18519ad4ab57b793ce99aab14 (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
43
# Maintainer: Jon Noble <jonnobleuk@gmail.com>
pkgname=chestnut
pkgver=0.2.1
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' 'mediahandling' 'audiowaveform')
makedepends=('git' 'pkgconfig') 
provides=("${pkgname%}")
conflicts=('chestnut-git')
replaces=()
backup=()
options=()
install=
source=("https://github.com/jonno85uk/chestnut/archive/v${pkgver}.tar.gz")
noextract=()
md5sums=('05e8bc2229eae7335c3b81f13be4e3c6')

prepare() {
    rm -rf "chestnut"
    tar xaf v${pkgver}.tar.gz
    mv chestnut-${pkgver} chestnut
    cd chestnut
    qmake CONFIG+=release    
}

build() {
    cd "$srcdir/chestnut"
    make
}

check() {
    cd "$srcdir"
}

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