blob: 5cf0930e770f2d0f84e750a71cf5a4061fc0ec02 (
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
|
#Maintainer: Bazza <bazza@riseup.net>
pkgname=blender-rhubarb-lipsync
pkgver=3.0.2
pkgrel=1
pkgdesc="Blender Rhubarb Lipsync is an addon for Blender integrating Rhubarb Lip Sync to automatically generate mouth-shape keyframes from a pose library."
arch=('any')
url="https://github.com/scaredyfish/blender-rhubarb-lipsync"
license=('GPL')
source=("${pkgname}-v${pkgver}.tar.gz::https://codeload.github.com/scaredyfish/${pkgname}/tar.gz/refs/tags/v${pkgver}")
md5sums=('5924cab27b9a7180207d1568d0b40d2b')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
rm .gitignore
rm README.md
rm package.sh
rm -r img
}
package() {
_blender=$(pacman -Sddp --print-format %v blender| cut -d: -f2 | cut -d\. -f1-2)
install -d -m755 "${pkgdir}"/usr/share/blender/"${_blender}"/scripts/addons
cp -a "${srcdir}"/${pkgname}-${pkgver} "${pkgdir}"/usr/share/blender/"${_blender}"/scripts/addons/${pkgname}
}
|