blob: d4f0f5e61ec1f45be4e37c09433446ae33c568cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
_plug=vsxx
pkgname=vapoursynth-devel-${_plug}-git
pkgver=r52.de38f0e
pkgrel=1
pkgdesc="Development stack for Vapoursynth: ${_plug} (GIT version)"
arch=('any')
url='https://github.com/sekrit-twc/vsxx'
license=('LGPL2.1')
depends=('vapoursynth')
makedepends=('git')
optdepends=('bash: for build the exaple')
provides=("vapoursynth-devel-${_plug}")
conflicts=("vapoursynth-devel-${_plug}")
source=("${_plug}::git+https://github.com/sekrit-twc/vsxx.git")
sha256sums=('SKIP')
pkgver() {
cd "${_plug}"
# echo "$(git describe --long --tags | tr - .)"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "${_plug}"
sed -e 's|VapourSynth|$(pkg-config --cflags vapoursynth)|g' \
-e 's|-lvapoursynth-script|$(pkg-config --libs vapoursynth-script)|g' \
-i README.sh
}
package() {
cd "${_plug}"
for i in VapourSynth*++.hpp vsxx*_*.{cpp,h}; do
install -Dm644 "${i}" "${pkgdir}/usr/include/vapoursynth/${i}"
install -Dm644 "${i}" "${pkgdir}/usr/share/doc/vapoursynth/development/${_plug}/${i}"
done
install -Dm755 README.sh "${pkgdir}/usr/share/doc/vapoursynth/development/${_plug}/README.sh"
for i in example/*; do
install -Dm644 "${i}" "${pkgdir}/usr/share/doc/vapoursynth/development/${_plug}/${i}"
done
install -Dm644 COPYING.LGPLv2.1 "${pkgdir}/usr/share/licenses/${pkgname}/COPYING.LGPLv2.1"
}
|