1 # Contributor: N30N <archlinux@alunamation.com>
6 pkgdesc="A node based compositor."
7 url="https://code.google.com/p/vexx/"
10 depends=("qt" "openexr")
11 makedepends=("subversion")
12 source=("synapse.desktop" "synapse.sh")
13 md5sums=("48dcb31dc3b33675aac3bffffd275e5f" "ae085d8419016603ee7c7ba517f32906")
15 # _svntrunk="https://vexx.googlecode.com/svn/trunk/"
16 _svntrunk="https://vexx.googlecode.com/svn/branches/Synapse_1x"
20 msg "Connecting to SVN server..."
21 if [ -d "${_svnmod}/.svn" ]; then
22 (cd "${_svnmod}" && svn cleanup && svn update -r ${pkgver})
23 rm -rf "${_svnmod}-build"
25 svn co "${_svntrunk}" "${_svnmod}" --config-dir ./ -r ${pkgver}
28 cp -rf "${_svnmod}" "${_svnmod}-build"
33 install -d ${pkgdir}/opt/synapse/{plugins,synapseNodes}
34 install -m755 bin/alter ${pkgdir}/opt/synapse
35 install -m755 bin/*.so.1 ${pkgdir}/opt/synapse
36 install -m755 bin/plugins/*.so.1 ${pkgdir}/opt/synapse/plugins
37 install -m755 bin/synapseNodes/*.so.1 ${pkgdir}/opt/synapse/synapseNodes
38 install -m644 bin/synapseNodes/*.{svg,xml} \
39 ${pkgdir}/opt/synapse/synapseNodes
40 install -D -m755 "${srcdir}/synapse.sh" \
41 "${pkgdir}/usr/bin/synapse"
42 install -D -m644 "${srcdir}/synapse.desktop" \
43 "${pkgdir}/usr/share/applications/synapse.desktop"
46 # vim: set noet ff=unix: