diff options
author | sL1pKn07 | 2021-01-07 16:05:44 +0100 |
---|---|---|
committer | sL1pKn07 | 2021-01-07 16:05:44 +0100 |
commit | 045ce66ee03b3e36691e2ce49cacee8d339a0de2 (patch) | |
tree | a0c986a6431c143ee8ee095369bffde28a8efb50 | |
download | aur-045ce66ee03b3e36691e2ce49cacee8d339a0de2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 44 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e31ec0e536e2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = avisynth-plugin-fluxsmooth-git + pkgdesc = Plugin for Avisynth: fluxsmooth (GIT version) + pkgver = v1.4.8.g1fa2628 + pkgrel = 1 + url = https://forum.doom9.org/showthread.php?t=176246 + arch = x86_64 + license = GPL + makedepends = git + makedepends = cmake + depends = avisynthplus + provides = avisynth-plugin-fluxsmooth + conflicts = avisynth-plugin-fluxsmooth + source = fluxsmooth::git+https://github.com/pinterf/FluxSmooth.git + sha256sums = SKIP + +pkgname = avisynth-plugin-fluxsmooth-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..49b752e3876e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +_plug=fluxsmooth +pkgname=avisynth-plugin-${_plug}-git +pkgver=v1.4.8.g1fa2628 +pkgrel=1 +pkgdesc="Plugin for Avisynth: ${_plug} (GIT version)" +arch=('x86_64') +url='https://forum.doom9.org/showthread.php?t=176246' +license=('GPL') +depends=('avisynthplus') +makedepends=('git' + 'cmake' + ) +provides=("avisynth-plugin-${_plug}") +conflicts=("avisynth-plugin-${_plug}") +source=("${_plug}::git+https://github.com/pinterf/FluxSmooth.git") +sha256sums=('SKIP') + +pkgver() { + cd "${_plug}" + echo "$(git describe --long --tags | tr - .)" +} + +prepare() { + mkdir -p build +} + +build() { + cd build + + cmake "../${_plug}" \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + + make +} + +package(){ + make -C build DESTDIR="${pkgdir}" install + + install -Dm755 "${_plug}/FluxSmooth/documentation/readme.html" "${pkgdir}/usr/share/doc/${_plug}/readme.html" + +} |