summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e8590c00f9b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}