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

pkgname=avxsynth-git
pkgver=20150407.80dcb7e
pkgrel=1
pkgdesc="Linux Port of AviSynth. (Git version)"
arch=('i686' 'x86_64')
url="http://www.avxsynth.org"
license=('GPL2')
depends=('qt4' 'mplayer' 'log4cpp' 'pango' 'ffms2')
makedepends=('git' 'yasm' 'subversion' 'python2')
provides=('avxsynth')
conflicts=('avxsynth')
source=('git+https://github.com/avxsynth/avxsynth.git')
sha1sums=('SKIP')

pkgver() {
  cd avxsynth
  echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")"
}

prepare() {
  cd avxsynth
  autoreconf -if
}

build() {
  cd avxsynth
  ./configure --prefix=/usr --enable-silent-rules
  make
}

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