summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..2b353cd59f93
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+#Automatically generated by pip2arch on 2018-12-05
+
+pkgname=inkscape-inkcut
+pkgver=273.gb32347a
+pkgrel=1
+pkgdesc="Inkscape extension for inkcut."
+url="https://github.com/codelv/inkcut/"
+depends=('python' 'inkscape' 'inkcut' )
+license=('GPLv3')
+arch=('any')
+source=("git+https://github.com/codelv/inkcut")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd 'inkcut'
+ echo "$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
+}
+
+package() {
+ mkdir -p "$pkgdir/usr/share/doc/inkscape-inkcut/"
+ cp "$srcdir/inkcut/plugins/inkscape/README.md" "$pkgdir/usr/share/doc/inkscape-inkcut/"
+ mkdir -p "$pkgdir/usr/share/inkscape/extensions"
+ cp "$srcdir/inkcut/plugins/inkscape/inkcut.py" "$pkgdir/usr/share/inkscape/extensions/"
+ cp "$srcdir/inkcut/plugins/inkscape/inkcut_cut.py" "$pkgdir/usr/share/inkscape/extensions/"
+ cp "$srcdir/inkcut/plugins/inkscape/inkcut_cut.inx" "$pkgdir/usr/share/inkscape/extensions/"
+ cp "$srcdir/inkcut/plugins/inkscape/inkcut_open.py" "$pkgdir/usr/share/inkscape/extensions/"
+ cp "$srcdir/inkcut/plugins/inkscape/inkcut_open.inx" "$pkgdir/usr/share/inkscape/extensions/"
+}