summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: de79d1e2373e434e00a1e0e4f12798e33c0a5b8e (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
44
45
46
47
48
49
50
51
52
53
54
55
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=wobbly-git
pkgver=5.2.ga8b7445
pkgrel=1
pkgdesc="IVTC assistant for VapourSynth, similar to Yatta. (GIT version)"
arch=('x86_64')
url='https://github.com/dubhater/Wobbly'
license=('GPL')
depends=('qt5-base'
         'vapoursynth-plugin-scxvid-git'
         'vapoursynth-plugin-fieldhint-git'
         'vapoursynth-plugin-d2vsource-git'
         'vapoursynth-plugin-lsmashsource-git'
         'xdg-utils'
         )
makedepends=('git')
provides=('wobbly')
conflicts=('wobbly')
source=('wobbly::git+https://github.com/dubhater/Wobbly.git'
        'wobbly.desktop'
        'wibbly.desktop'
        )
sha256sums=('SKIP'
            '8dcaf8a1bf264573ecba9499af04183648b6a585b6ff495a158ebb58bfcb4e32'
            '0b69cf647f00c1e8378c2aa45297cc08dd08af77702a4ea429290086c17729ec'
            )
options=('debug')

pkgver() {
  cd wobbly
  echo "$(git describe --long --tags | tr - . | tr -d v)"
}

prepare() {
  mkdir -p build
}

build() {
  cd wobbly
  ./autogen.sh

  cd "${srcdir}/build"
  ../wobbly/configure \
    --prefix=/usr

  make
}

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

  install -Dm644 wobbly.desktop "${pkgdir}/usr/share/applications/wobbly.desktop"
  install -Dm644 wibbly.desktop "${pkgdir}/usr/share/applications/wibbly.desktop"
}