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

pkgname=wobbly-git
pkgver=r53.b949628
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-fieldhint-git' 'vapoursynth-plugin-d2vsource-git')
makedepends=('git')
provides=('wobbly')
conflicts=('wobbly')
source=('wobbly::git+https://github.com/dubhater/Wobbly.git'
        'wobbly.desktop')
sha1sums=('SKIP'
          '0fda5064306cf489879fa5234c8baf40879bb805')
install=wobbly-git.install

pkgver() {
  cd wobbly
  #echo "$(git describe --long --tags | tr - .)"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

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"
}