summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Modrzyk2017-12-20 16:45:23 +0900
committerNicolas Modrzyk2017-12-20 16:45:23 +0900
commitae1d6cda9cd7af0979a42416d72de954a4201269 (patch)
treeae2714dc68906d3d4d434b187e88dc7c58cdd9fd
downloadaur-ae1d6cda9cd7af0979a42416d72de954a4201269.tar.gz
version 1.0
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD22
2 files changed, 34 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..465639caae1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = origamiapp
+ pkgdesc = Origami Application (OpenCV Wrapper in Clojure)
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/hellonico/origami-electron
+ arch = x86_64
+ license = EPL
+ source = https://github.com/hellonico/origami-electron/releases/download/1.0/origamiapp-linux-x64.zip
+ md5sums = 2450923c9037252e2d60632df0b0f396
+
+pkgname = origamiapp
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a81e3e21185
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Nicolas Modrzyk <hellonico at gmail dot com>
+
+pkgname=origamiapp
+pkgver=1.0
+pkgrel=1
+pkgdesc="Origami Application (OpenCV Wrapper in Clojure)"
+arch=('x86_64')
+url="https://github.com/hellonico/origami-electron"
+license=('EPL')
+
+source=("https://github.com/hellonico/origami-electron/releases/download/1.0/origamiapp-linux-x64.zip")
+#noextract=("${source[@]%%::*}")
+md5sums=('2450923c9037252e2d60632df0b0f396')
+
+package() {
+ mkdir -p "$pkgdir"/usr/share/origamiapp
+ mkdir -p "$pkgdir/usr/bin/"
+ #install -D "$srcdir"/origamiapp-linux-x64/* "$pkgdir"/usr/share/origamiapp
+ #/home/niko/projects/origamiapp/src/origamiapp-linux-x64/resources
+ cp -r "$srcdir"/origamiapp-linux-x64/* "$pkgdir"/usr/share/origamiapp
+ ln -s "$pkgdir"/usr/share/origamiapp/origamiapp "$pkgdir/usr/bin/$pkgname"
+}