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

pkgname=avs2yuv-git
pkgver=r20.7aa19f9
pkgrel=1
pkgdesc="A simple tool that can execute avisynth scripts. (GIT version)"
arch=('x86_64')
url='https://github.com/DJATOM/avs2yuv'
license=('LGPL')
depends=('avisynthplus')
makedepends=('git')
provides=('avs2yuv')
conflicts=('av2yuv')
source=('git+https://github.com/DJATOM/avs2yuv.git')
sha256sums=('SKIP')

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

build() {
  make -C avs2yuv
}

package(){
  install -d "${pkgdir}/usr/bin"
  make -C avs2yuv PREFIX="${pkgdir}/usr" install
}