summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo (XenGi) Band2021-02-14 17:24:07 +0100
committerRicardo (XenGi) Band2021-02-14 17:24:07 +0100
commitfb7933076fb9b60c1158485dc1a6b82db80c765a (patch)
tree0318b77e749d48e1664101503c671104f8418c74
downloadaur-fb7933076fb9b60c1158485dc1a6b82db80c765a.tar.gz
initial dump
-rw-r--r--.SRCINFO17
-rw-r--r--.gitignore21
-rw-r--r--PKGBUILD33
3 files changed, 71 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4791bd24315
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = python-pcb-tools-extension-git
+ pkgdesc = Temporary fork of pcb-tools-extension including fixes for KiCAD nightlies
+ pkgver = 0.9.3
+ pkgrel = 1
+ url = https://git.jaseg.de/pcb-tools-extension.git
+ arch = any
+ license = Apache
+ makedepends = python-setuptools
+ depends = python-dxfgrabber
+ depends = python-pcb-tools
+ provides = python-pcb-tools-extension
+ conflicts = python-pcb-tools-extension
+ source = pcb-tools-extension::git+https://git.jaseg.de/pcb-tools-extension.git
+ md5sums = SKIP
+
+pkgname = python-pcb-tools-extension-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..90f15290ff8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,21 @@
+pcb-tools-extension/
+
+# Created by https://www.toptal.com/developers/gitignore/api/archlinuxpackages
+# Edit at https://www.toptal.com/developers/gitignore?templates=archlinuxpackages
+
+### ArchLinuxPackages ###
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/
+
+# End of https://www.toptal.com/developers/gitignore/api/archlinuxpackages
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6d43505770
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Ricardo Band <email@ricardo.band>
+
+pkgname=python-pcb-tools-extension-git
+pkgver=r41.71c371c
+provides=("${pkgname%-git}")
+conflicts=("${pkgname%-git}")
+_name=${pkgname#python-}
+pkgrel=1
+pkgdesc="Temporary fork of pcb-tools-extension including fixes for KiCAD nightlies"
+arch=('any')
+url="https://git.jaseg.de/pcb-tools-extension.git"
+license=('Apache')
+depends=("python-dxfgrabber" "python-pcb-tools")
+makedepends=('python-setuptools')
+source=("${_name%-git}::git+https://git.jaseg.de/${_name%-git}.git")
+md5sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${_name%-git}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/${_name%-git}"
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir/${_name%-git}"
+ export PYTHONHASHSEED=0
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+