# Depends on: python2-setuptools python2 python2-lxml python2-pyusb 

description="Control silhouette (portrait or cameo) device in inkscape"
url="https://github.com/fablabnbg/"
packager="tnut <tnut@nutyx.org>"
contributors="Greg"

name=inkscape-silhouette
version=1.19
release=2

PKGMK_KEEP_SOURCES="no"

source=(https://github.com/fablabnbg/$name/archive/v$version.tar.gz
)


build() {

cd $name-$version
python2 setup.py build && python2 setup.py install --root=$PKG --optimize=1

mkdir -p $PKG/usr/share/inkscape/extensions/

cp $SRC/$name-$version/sendto_silhouette.* $PKG/usr/share/inkscape/extensions/
cp -R $SRC/$name-$version/silhouette $PKG/usr/share/inkscape/extensions/
  
}
