summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: aff4c621df18ad7308adcb5e3d729ebff0fbcd3e (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
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>

pkgname=wobbly-git
pkgver=v1.10.g3496a2d
pkgrel=1
pkgdesc="IVTC assistant for VapourSynth, similar to Yatta. (GIT version)"
arch=('i686' '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'
         'xdg-utils'
         )
makedepends=('git')
provides=('wobbly')
conflicts=('wobbly')
source=('wobbly::git+https://github.com/dubhater/Wobbly.git'
        'wobbly.desktop'
        'wibbly.desktop')
sha1sums=('SKIP'
          '0fda5064306cf489879fa5234c8baf40879bb805'
          'ed2a296f2cb88506beadb9ea2e11802154126405')
install=wobbly-git.install

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

prepare() {
  cd wobbly
  ./autogen.sh
}

build() {
  cd wobbly
  ./configure --prefix=/usr
  make
}

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

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