summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Krug2015-06-14 20:52:07 +0200
committerThomas Krug2015-06-14 20:52:07 +0200
commitc5e8e46deddbfcbae686685de45373d22618c913 (patch)
tree5356b78844045d48455c1de864d1922109cf3e72
downloadaur-c5e8e46deddbfcbae686685de45373d22618c913.tar.gz
Initial import
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD33
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e9995e91247
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = pcb2gcode
+ pkgdesc = Gerber to gcode file converter
+ pkgver = 1.1.4
+ pkgrel = 1
+ url = http://sourceforge.net/apps/mediawiki/pcb2gcode/index.php?title=Main_Page
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = gerbv=2.6.0
+ source = http://downloads.sourceforge.net/pcb2gcode/pcb2gcode-1.1.4-git2012-07-02.tar.gz
+ md5sums = 52c49627b04013fef16fedba2917efed
+
+pkgname = pcb2gcode
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..66d80440cc6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Thomas Krug <t.krug@elektronenpumpe.de>
+# Contributor: Pierre DOUCET <pierre at equinoxefr.org>
+
+pkgname=pcb2gcode
+pkgver=1.1.4
+_pkgver=1.1.4-git2012-07-02
+pkgrel=1
+pkgdesc="Gerber to gcode file converter"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/apps/mediawiki/pcb2gcode/index.php?title=Main_Page"
+license=('GPL')
+depends=('gerbv=2.6.0')
+source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz")
+md5sums=('52c49627b04013fef16fedba2917efed')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ ./configure --prefix=/usr
+
+ # no binary due to broken libtool distributed with package
+ echo -e 'exec /usr/bin/libtool "$@"' > libtool
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et: