summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristopher Bero2016-03-13 17:57:57 -0500
committerChristopher Bero2016-03-13 17:57:57 -0500
commitdf06771a05497f540b930540b2f50045c8da601b (patch)
tree0f3eef288b4616b79e16d65edff71b780e1008ac /PKGBUILD
downloadaur-df06771a05497f540b930540b2f50045c8da601b.tar.gz
initial pkgbuild
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6fab7d2d9b1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Christopher Bero <bigbero@gmail.com>
+pkgname=localplot-git
+_pkgname=localplot
+pkgver=23.5535df2
+pkgrel=1
+pkgdesc="HPGL Plotting software to drive a serial vinyl cutter."
+arch=('i686' 'x86_64')
+url="https://github.com/makerslocal/localplot"
+license=('GPL3')
+#group=('')
+depends=('qt5-serialport')
+makedepends=('git' 'qt5-base')
+#optdepends=('')
+#noextract=('')
+source=(${_pkgname}::"git+https://github.com/makerslocal/${_pkgname}.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ echo "$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+#prepare() {
+#}
+
+build() {
+ cd "${srcdir}/${_pkgname}"
+ /usr/lib/qt/bin/qmake -spec linux-g++ CONFIG+=release -o Makefile localplot.pro
+ make
+}
+
+package() {
+ install -D "$srcdir/localplot/localplot" "$pkgdir/usr/bin/localplot"
+ install -D "$srcdir/localplot/localplot.desktop" "$pkgdir/usr/share/applications/localplot.desktop"
+}