diff options
author | sl1pkn07 | 2015-06-08 20:35:04 +0200 |
---|---|---|
committer | sl1pkn07 | 2015-06-08 20:35:04 +0200 |
commit | 602ae42f40f7096608cdf50e2933fabbfe2e79a8 (patch) | |
tree | 15e0b2fde7980954254ef1b2c5bf419d9f728d99 | |
download | aur-602ae42f40f7096608cdf50e2933fabbfe2e79a8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 36 |
3 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b94b3e483257 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = vapoursynth-plugin-genericfilters-git + pkgdesc = Plugin for Vapoursynth: genericfilters (GIT version) + pkgver = 20140415.4eede12 + pkgrel = 1 + url = http://forum.doom9.org/showthread.php?p=1656901#post1656901 + arch = i686 + arch = x86_64 + license = LGPL2.1 + makedepends = git + depends = vapoursynth + provides = vapoursynth-plugin-genericfilters + conflicts = vapoursynth-plugin-genericfilters + source = genericfilters::git+https://github.com/myrsloik/GenericFilters.git + sha1sums = SKIP + +pkgname = vapoursynth-plugin-genericfilters-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..05c6d4d4c97b --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.gitignore +!.SRCINFO +!PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..f30b5ad81117 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=genericfilters +pkgname=vapoursynth-plugin-${_plug}-git +pkgver=20140415.4eede12 +pkgrel=1 +pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" +arch=('i686' 'x86_64') +url="http://forum.doom9.org/showthread.php?p=1656901#post1656901" +license=('LGPL2.1') +depends=('vapoursynth') +makedepends=('git') +provides=("vapoursynth-plugin-${_plug}") +conflicts=("vapoursynth-plugin-${_plug}") +source=("${_plug}::git+https://github.com/myrsloik/GenericFilters.git") +sha1sums=('SKIP') + +pkgver() { + cd "${_plug}" + echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")" +} + +prepare() { + rm -fr "${_plug}/src/common/VapourSynth.h" +} + +build() { + cd "${_plug}/src" + ./configure --install="${pkgdir}/usr/lib/vapoursynth" --extra-cflags="$(pkg-config --cflags vapoursynth)" + make +} + +package(){ + make -C "${_plug}/src" install + install -Dm644 "${_plug}/readme.rst" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/readme.rst" +} |