summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPiotr Rogoża2015-06-14 15:53:08 +0200
committerPiotr Rogoża2015-06-14 15:53:08 +0200
commit82f3c13fc1951d0d6d512082598a99514765fb95 (patch)
tree3ee74d44ad37555e70c1f7c97cc89675c0c071d4 /PKGBUILD
downloadaur-svg2sif-git.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..64bc0dd5997
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com>
+# vim:set ts=2 sw=2 et ft=sh tw=100: expandtab
+
+pkgname=svg2sif-git
+pkgver=20130226
+pkgrel=1
+pkgdesc='An Inkscape extension that converts SVG files to Synfig Animation Studio (.sif) files.'
+arch=(any)
+url='https://github.com/nikitakit/svg2sif'
+license=('GPL')
+groups=()
+depends=(inkscape python)
+makedepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+noextract=()
+_gitroot='git://github.com/nikitakit/svg2sif.git'
+_gitname='svg2sif'
+build(){
+ cd "$srcdir"
+ msg2 "Connecting to GIT server...."
+
+ if [ -d ${_gitname}/.git ] ; then
+ cd $_gitname
+ git pull origin
+ msg2 "The local files are updated."
+ else
+ git clone $_gitroot $_gitname
+ cd $_gitname
+ fi
+
+ msg2 "GIT checkout done or server timeout"
+}
+package(){
+ cd "$srcdir"/$_gitname
+ msg2 "Starting install"
+ install -dm755 "$pkgdir"/usr/share/inkscape/extensions
+ cp -r *.py *.inx "$pkgdir"/usr/share/inkscape/extensions
+}
+