summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin R. St-Amant2015-11-19 18:22:48 -0600
committerJustin R. St-Amant2015-11-19 18:22:48 -0600
commitb5bb32e0c6fae91a63d86aa90c9ad5c22038bf88 (patch)
tree4e1c8df3348f9fbf6651b4547fb64d20a8f15a92
downloadaur-b5bb32e0c6fae91a63d86aa90c9ad5c22038bf88.tar.gz
Initial import.
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD46
2 files changed, 78 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3c89c3a8428
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = camotics-git
+ pkgdesc = 3-axis NC machining simulation software
+ pkgver = 1.0.6.r15.ga799aa8
+ pkgrel = 1
+ url = http://camotics.org/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = boost
+ makedepends = scons
+ depends = boost-libs
+ depends = bzip2
+ depends = cairo
+ depends = expat
+ depends = glu
+ depends = libffi
+ depends = libgl
+ depends = libmariadbclient
+ depends = openssl
+ depends = qt5-base
+ depends = sqlite
+ depends = v8-3.14
+ depends = zlib
+ provides = camotics
+ replaces = openscam
+ source = camotics-git::git+https://github.com/CauldronDevelopmentLLC/CAMotics.git
+ source = git+https://github.com/CauldronDevelopmentLLC/cbang.git
+ md5sums = SKIP
+ md5sums = SKIP
+
+pkgname = camotics-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e2fbadca6dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Justin R. St-Amant <jstamant24 at gmail dot com>
+pkgname=camotics-git
+pkgver=1.0.6.r15.ga799aa8
+pkgrel=1
+pkgdesc="3-axis NC machining simulation software"
+arch=('i686' 'x86_64')
+url="http://camotics.org/"
+license=('GPL2')
+depends=('boost-libs'
+ 'bzip2'
+ 'cairo'
+ 'expat'
+ 'glu'
+ 'libffi'
+ 'libgl'
+ 'libmariadbclient'
+ 'openssl'
+ 'qt5-base'
+ 'sqlite'
+ 'v8-3.14'
+ 'zlib')
+makedepends=('boost' 'scons')
+provides=('camotics')
+replaces=('openscam')
+source=("$pkgname::git+https://github.com/CauldronDevelopmentLLC/CAMotics.git"
+ "git+https://github.com/CauldronDevelopmentLLC/cbang.git")
+md5sums=('SKIP' 'SKIP')
+
+pkgver() {
+ cd "$srcdir/$pkgname"
+ git describe --long --tags | sed 's/^v//;s/-/.r/;s/-/./'
+}
+
+build() {
+ cd "$srcdir/cbang"
+ scons
+ export CBANG_HOME=$PWD
+
+ cd "$srcdir/$pkgname"
+ scons
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ scons install compiler=gnu install_prefix="$pkgdir/usr"
+}