diff options
author | Gustavo Alvarez | 2016-08-06 16:53:16 +0200 |
---|---|---|
committer | Gustavo Alvarez | 2016-08-06 16:53:16 +0200 |
commit | 40cf1a6b42d9ae60038aa620711b92eb35b994f4 (patch) | |
tree | 994085d75f13182f798b50c324030271e716eae9 | |
download | aur-40cf1a6b42d9ae60038aa620711b92eb35b994f4.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 23 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 43 |
3 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9c8a728adafc --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,23 @@ +# Generated by mksrcinfo v8 +# Sat Aug 6 14:53:16 UTC 2016 +pkgbase = vapoursynth-plugin-sangnom-hg + pkgdesc = Plugin for Vapoursynth: sangnom (HG version) + pkgver = 18.c4e2a8681c27 + pkgrel = 1 + url = http://forum.doom9.org/showthread.php?t=173752 + arch = i686 + arch = x86_64 + license = GPL + makedepends = mercurial + depends = vapoursynth + provides = vapoursynth-plugin-sangnom + provides = vapoursynth-plugin-sangnommod + provides = vapoursynth-plugin-sangnommod-git + conflicts = vapoursynth-plugin-sangnom + conflicts = vapoursynth-plugin-sangnommod + conflicts = vapoursynth-plugin-sangnommod-git + source = sangnom::hg+https://sl1pkn07@bitbucket.org/James1201/vapoursynth-sangnom + sha1sums = SKIP + +pkgname = vapoursynth-plugin-sangnom-hg + 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..c8c41c20ec83 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=sangnom +pkgname=vapoursynth-plugin-${_plug}-hg +pkgver=18.c4e2a8681c27 +pkgrel=1 +pkgdesc="Plugin for Vapoursynth: ${_plug} (HG version)" +arch=('i686' 'x86_64') +url='http://forum.doom9.org/showthread.php?t=173752' +license=('GPL') +depends=('vapoursynth') +makedepends=('mercurial') +provides=("vapoursynth-plugin-${_plug}" + 'vapoursynth-plugin-sangnommod' + 'vapoursynth-plugin-sangnommod-git' + ) +conflicts=("vapoursynth-plugin-${_plug}" + 'vapoursynth-plugin-sangnommod' + 'vapoursynth-plugin-sangnommod-git' + ) +source=("${_plug}::hg+https://sl1pkn07@bitbucket.org/James1201/vapoursynth-sangnom") +sha1sums=('SKIP') + +pkgver() { + cd "${_plug}" + echo "$(hg log -r -1 --template '{rev}.{node|short}\n')" +} + +prepare() { + cd "${_plug}" + echo "all: + g++ -o lib${_plug}.so -std=gnu++11 -msse4.1 ${CXXFLAGS} ${CPPFLAGS} ${LDFLAGS} $(pkg-config --cflags vapoursynth) sangnom_c.cpp -shared -fPIC" > Makefile +} + +build() { + make -C "${_plug}" +} + +package(){ + cd "${_plug}" + install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so" + install -Dm644 README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" +} |