summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Krug2015-06-14 20:53:11 +0200
committerThomas Krug2015-06-14 20:53:11 +0200
commitcc9aa666122c699c44e4eaac0264a1dcfa021c17 (patch)
tree4a6a852c7217c7d52aa82297edfd9d5f74c496ef
downloadaur-cc9aa666122c699c44e4eaac0264a1dcfa021c17.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD41
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a01bdf60a33
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = pcb2gcode-git
+ pkgdesc = Gerber to gcode file converter
+ pkgver = r144.05e093f
+ pkgrel = 1
+ url = https://github.com/patkan/pcb2gcode
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = git
+ makedepends = boost
+ depends = gtkmm
+ depends = boost-libs
+ depends = gerbv-git
+ provides = pcb2gcode
+ conflicts = pcb2gcode
+ source = pcb2gcode::git://github.com/pcb2gcode/pcb2gcode.git
+ md5sums = SKIP
+
+pkgname = pcb2gcode-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..120dabd2f42
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Thomas Krug <t.krug@elektronenpumpe.de>
+# Contributor: Pierre DOUCET <pierre at equinoxefr.org>
+
+pkgname=pcb2gcode-git
+_pkgname=pcb2gcode
+pkgver=r144.05e093f
+pkgrel=1
+pkgdesc="Gerber to gcode file converter"
+arch=('i686' 'x86_64')
+url="https://github.com/patkan/pcb2gcode"
+license=('GPL')
+makedepends=('git' 'boost')
+depends=('gtkmm' 'boost-libs' 'gerbv-git')
+provides=('pcb2gcode')
+conflicts=('pcb2gcode')
+md5sums=('SKIP')
+source=("$_pkgname"::'git://github.com/pcb2gcode/pcb2gcode.git')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$_pkgname"
+
+ libtoolize
+ aclocal
+ automake --add-missing
+ autoreconf
+ ./configure --prefix=/usr
+ make -j
+}
+
+package() {
+ cd "$srcdir/$_pkgname"
+
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: