diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -5,8 +5,8 @@ pkgname=vapoursynth-plugin-${_plug}-git pkgver=v1.1.0.ge5a7221 pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" -arch=('i686' 'x86_64') -url='http://forum.doom9.org/showthread.php?t=171159' +arch=('x86_64') +url='https://forum.doom9.org/showthread.php?t=171159' license=('GPL') depends=('vapoursynth') makedepends=('git') @@ -21,18 +21,22 @@ pkgver() { } prepare() { + mkdir -p build + cd "${_plug}" ./autogen.sh } build() { - cd "${_plug}" - ./configure --libdir=/usr/lib/vapoursynth + cd build + ../"${_plug}"/configure \ + --prefix=/usr \ + --libdir=/usr/lib/vapoursynth + make } package(){ - cd "${_plug}" - make DESTDIR="${pkgdir}" install - install -Dm644 readme.rst "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.rst" + make -C build DESTDIR="${pkgdir}" install + install -Dm644 "${_plug}/readme.rst" "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/readme.rst" } |