diff options
author | sL1pKn07 | 2019-03-02 20:58:35 +0100 |
---|---|---|
committer | sL1pKn07 | 2019-03-02 20:58:35 +0100 |
commit | be21fbef21c190c83dadcc5d7e95bd900f61fbe2 (patch) | |
tree | b71a2ee85484b2bc1fc85b0226e4f2634885ecae /PKGBUILD | |
parent | 7b86ca29f6d966c7b227ae934d8aaa30c449f348 (diff) | |
download | aur-vapoursynth-plugin-replaceframes-hg.tar.gz |
bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -5,7 +5,7 @@ pkgname=vapoursynth-plugin-${_plug}-hg pkgver=4.37bd14b3cff3 pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug} (HG version)" -arch=('i686' 'x86_64') +arch=('x86_64') url='https://bitbucket.org/James1201/vapoursynth-replaceframes' license=('custom:WTFPL') depends=('vapoursynth' @@ -15,7 +15,7 @@ makedepends=('mercurial') provides=("vapoursynth-plugin-${_plug}") conflicts=("vapoursynth-plugin-${_plug}") source=("${_plug}::hg+https://bitbucket.org/James1201/vapoursynth-replaceframes") -sha1sums=('SKIP') +sha256sums=('SKIP') pkgver() { cd "${_plug}" @@ -23,21 +23,24 @@ pkgver() { } prepare() { + mkdir -p build + cd "${_plug}" chmod +x autogen.sh ./autogen.sh } build() { - cd "${_plug}" - ./configure \ + cd build + ../"${_plug}"/configure \ --libdir="/usr/lib/vapoursynth" + make } package(){ - cd "${_plug}" - make DESTDIR="${pkgdir}" install - install -Dm644 README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + make -C build DESTDIR="${pkgdir}" install + + install -Dm644 "${_plug}/README.md" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md" + install -Dm644 "${_plug}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |