summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSameer2018-12-05 09:40:36 -0600
committerSameer2018-12-05 09:40:36 -0600
commit0c5e730ce873483751167a075f61b9a6d550ab83 (patch)
treec02faeb79f97259f7f2afd61478c68a444aa69be
downloadaur-0c5e730ce873483751167a075f61b9a6d550ab83.tar.gz
Initial PKGBUILD based off of other inkscape extensions
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD28
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..4ee4c61b577b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = inkscape-inkcut
+ pkgdesc = Inkscape extension for inkcut.
+ pkgver = 273.gb32347a
+ pkgrel = 1
+ url = https://github.com/codelv/inkcut/
+ arch = any
+ license = GPLv3
+ depends = python
+ depends = inkscape
+ depends = inkcut
+ source = git+https://github.com/codelv/inkcut
+ sha256sums = SKIP
+
+pkgname = inkscape-inkcut
+
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/"
+}