diff options
author | sl1pkn07 | 2015-09-25 17:51:26 +0200 |
---|---|---|
committer | sl1pkn07 | 2015-09-25 17:51:26 +0200 |
commit | 6baf67ecf2e1b9839c9cd981fce4690ea8ac6b7b (patch) | |
tree | e0d475833829a1c60329112798c02a15c29cca17 | |
parent | 8329e14690bde456ccab9d2434c48e2287d32491 (diff) | |
download | aur-6baf67ecf2e1b9839c9cd981fce4690ea8ac6b7b.tar.gz |
Update PKGBUILD
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 13 insertions, 12 deletions
@@ -1,6 +1,6 @@ pkgbase = vapoursynth-plugin-convo2d-git pkgdesc = Plugin for Vapoursynth: convo2d (GIT version) - pkgver = 20121214.39fdd09 + pkgver = r15.39fdd09 pkgrel = 1 url = https://github.com/chikuzen/convo2d arch = i686 @@ -11,7 +11,7 @@ pkgbase = vapoursynth-plugin-convo2d-git provides = vapoursynth-plugin-convo2d conflicts = vapoursynth-plugin-convo2d source = git+https://github.com/chikuzen/convo2d.git - md5sums = SKIP + sha1sums = SKIP pkgname = vapoursynth-plugin-convo2d-git @@ -2,7 +2,7 @@ _plug=convo2d pkgname=vapoursynth-plugin-${_plug}-git -pkgver=20121214.39fdd09 +pkgver=r15.39fdd09 pkgrel=1 pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)" arch=('i686' 'x86_64') @@ -13,28 +13,29 @@ makedepends=('git') provides=("vapoursynth-plugin-${_plug}") conflicts=("vapoursynth-plugin-${_plug}") source=("git+https://github.com/chikuzen/${_plug}.git") -md5sums=('SKIP') -_gitname="${_plug}" +sha1sums=('SKIP') pkgver() { - cd "${_gitname}" - echo "$(git log -1 --format="%cd" --date=short | tr -d '-').$(git log -1 --format="%h")" + cd "${_plug}" + #echo "$(git describe --long --tags | tr - .)" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { - cd "${_gitname}" + cd "${_plug}" rm VapourSynth.h } build() { - cd "${_gitname}" - ./configure --extra-cflags="$(pkg-config --cflags vapoursynth)" + cd "${_plug}" + ./configure --extra-cflags="${CFLAGS} $(pkg-config --cflags vapoursynth)" \ + --extra-ldflags="${LDFLAGS}" make } package(){ - cd "${_gitname}" + cd "${_plug}" install -Dm755 "lib${_plug}.so" "${pkgdir}/usr/lib/vapoursynth/lib${_plug}.so" - install -Dm644 readme.rst "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README" + install -Dm644 readme.rst "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.rst" } |