Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kicad-pcb-diff #2991

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions archlinuxcn/kicad-pcb-diff/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
taotieren marked this conversation as resolved.
Show resolved Hide resolved
31 changes: 31 additions & 0 deletions archlinuxcn/kicad-pcb-diff/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Maintainer: taotieren <[email protected]>

pkgname=kicad-pcb-diff
pkgver=2.4.2
pkgrel=1
epoch=
pkgdesc="Tool to generate a PDF file showing the changes between two KiCad PCB/SCH files. Also a git plug-in."
arch=('any')
url="https://github.com/INTI-CMNB/KiDiff"
license=('GPL-2.0')
groups=()
depends=('python' 'kicad' 'python-wxpython' 'imagemagick' 'librsvg' 'poppler' 'xdg-utils')
Comment on lines +10 to +12
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

kicad-pcb-diff E: The SPDX license statement 'GPL-2.0' should be formatted as 'GPL-2.0-only' instead
kicad-pcb-diff W: Dependency included, but may not be needed ('python-wxpython')
kicad-pcb-diff W: Dependency included, but may not be needed ('imagemagick')
kicad-pcb-diff W: Dependency included, but may not be needed ('librsvg')
kicad-pcb-diff W: Dependency included, but may not be needed ('poppler')
kicad-pcb-diff W: Dependency included, but may not be needed ('xdg-utils')

makedepends=("python-setuptools")
checkdepends=()
optdepends=("kiauto-git: KiCad automation scripts.")
provides=('kidiff' 'kicad-diff')
conflicts=()
taotieren marked this conversation as resolved.
Show resolved Hide resolved
replaces=()
backup=()
options=('!strip')
install=
taotieren marked this conversation as resolved.
Show resolved Hide resolved
changelog=
source=("KiDiff-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
noextract=()
sha256sums=('32ef7ac5083ae9e59c71b304840e059a137b363a40afe3c2e697d5d710c68744')
#validpgpkeys=()

package() {
cd "${srcdir}/KiDiff-${pkgver}"
python setup.py install --no-compile --root="$pkgdir"
}
Comment on lines +28 to +31
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

17 changes: 17 additions & 0 deletions archlinuxcn/kicad-pcb-diff/lilac.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
maintainers:
- github: taotieren

build_prefix: extra-x86_64

pre_build_script: |
update_pkgver_and_pkgrel(_G.newver)

post_build_script: |
git_pkgbuild_commit()
update_aur_repo()

update_on:
- source: github
github: INTI-CMNB/KiDiff
use_latest_release: true
prefix: v