diff options
author | Justin R. St-Amant | 2015-11-19 18:22:48 -0600 |
---|---|---|
committer | Justin R. St-Amant | 2015-11-19 18:22:48 -0600 |
commit | b5bb32e0c6fae91a63d86aa90c9ad5c22038bf88 (patch) | |
tree | 4e1c8df3348f9fbf6651b4547fb64d20a8f15a92 /PKGBUILD | |
download | aur-b5bb32e0c6fae91a63d86aa90c9ad5c22038bf88.tar.gz |
Initial import.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e2fbadca6dcb --- /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" +} |