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