summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegala2020-10-03 14:00:01 +0200
committerthegala2020-10-03 14:00:01 +0200
commit5fd481348a00d8f95d05bfd8f5b16050cb2dea3e (patch)
tree2d74a75629f6eb0875aaaf11acd433508233a241
downloadaur-5fd481348a00d8f95d05bfd8f5b16050cb2dea3e.tar.gz
Init commit.
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD28
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..cb72bae16de
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = pcbdraw-git
+ pkgdesc = KiCad automation scripts.
+ pkgver = 194.99bcecd
+ pkgrel = 1
+ url = https://github.com/INTI-CMNB/pcbdraw
+ arch = i686
+ arch = x86_64
+ license = Apache2.0
+ makedepends = git
+ makedepends = python
+ depends = python
+ depends = kicad
+ provides = pcbdraw
+ conflicts = pcbdraw
+ source = pcbdraw::git+https://github.com/INTI-CMNB/pcbdraw
+ md5sums = SKIP
+
+pkgname = pcbdraw-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5fa4e95b78
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: thegala <thegala at disroot.org>
+
+_pkgname=pcbdraw
+pkgname=pcbdraw-git
+pkgver=194.99bcecd
+pkgrel=1
+arch=('i686' 'x86_64')
+pkgdesc="KiCad automation scripts."
+url="https://github.com/INTI-CMNB/pcbdraw"
+license=('Apache2.0')
+depends=('python' 'kicad')
+makedepends=('git' 'python')
+source=("${_pkgname}::git+https://github.com/INTI-CMNB/pcbdraw")
+md5sums=('SKIP')
+provides=('pcbdraw')
+conflicts=('pcbdraw')
+
+pkgver()
+{
+ cd "$_pkgname"
+ echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
+}
+
+
+package() {
+ cd $_pkgname
+ python setup.py install --root="$pkgdir"
+}