diff options
author | cyrant | 2017-10-01 22:48:50 +0300 |
---|---|---|
committer | cyrant | 2017-10-01 22:48:50 +0300 |
commit | 15c529b7be03176c8e5f1e4fa58c84386d19943f (patch) | |
tree | 2c0fe5b779f0eca540a7125028e5cec27a683b9c /PKGBUILD | |
download | aur-15c529b7be03176c8e5f1e4fa58c84386d19943f.tar.gz |
initial
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3b92629fd0e7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: cyrant <cyrant at tuta dot io> + +pkgname=opentoonz +pkgver=1.1.3 +pkgrel=1 +pkgdesc='2D animation software based on Toonz Studio Ghibli Version.' +url='https://opentoonz.github.io' +license=('BSD') +arch=('x86_64') +conflicts=('opentoonz-git') +depends=('cblas' 'freeglut' 'glew' 'lzo' 'qt5-multimedia' 'qt5-script' 'sdl2' 'superlu') +makedepends=('boost' 'boost-libs' 'cmake' 'qt5-tools') +source=( + "git+https://github.com/opentoonz/opentoonz.git#tag=v${pkgver}" + "${pkgname}.desktop" + "${pkgname}.png" +) +md5sums=( + 'SKIP' + '79edaacc7ef2f7b932a2ab3e9234570e' + '3d8620258a66ee0f58c91ea6a38e33c1' +) + +build() { + cd "${pkgname}/thirdparty/tiff-4.0.3" + ./configure --with-pic --disable-jbig && make + cd - + + cmake \ + -H"${pkgname}/toonz/sources" \ + -B"${pkgname}-build" \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr + cd "${pkgname}-build" + make +} + +package() { + cd "${pkgname}-build" + make DESTDIR="${pkgdir}/" install + cd - + + install -Dm644 "${pkgname}/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png" +} |