blob: 8203f4b60eaa8659e45bf1b61ebc88cb7a385727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: Andy Makovec <andymakovec[at]gmail[dot]com>
# Contributor: Rachel Mant <dx-mon[at]users[dot]sourceforge[dot]net>
pkgname=kicad-nightly-bin
_pkgname=kicad-nightly
provides=('kicad-nightly')
conflicts=('kicad-nightly')
pkgdesc='Electronic schematic and printed circuit board (PCB) design tools'
arch=('x86_64')
url='http://kicad-pcb.org/'
license=('GPLv3')
depends=('kicad' 'boost-libs' 'glm' 'glew' 'curl' 'ngspice' 'opencascade' 'wxgtk3' 'python-wxpython' 'python' 'libcloudproviders' 'glew-2.1')
options=('!strip') # strips symbols from binaries and libraries (potentially resulting in better performance and sometimes significantly less disk space usage)
optdepends=(
'kicad-library-nightly: for footprints and symbols'
'kicad-library-3d-nightly: for 3d models of components'
)
pkgrel=1
source=(
'https://launchpad.net/~kicad/+archive/ubuntu/kicad-dev-nightly/+files/kicad-nightly_202111130948+43c85771eb~143~ubuntu21.04.1_amd64.deb'
'kicad-nightly.env'
)
pkgver=202111130948+43c85771eb
sha256sums=(
'9cbf0299bf57558d6504139dda8b77f94857fdd1a05ed662f39835d604a69abf'
'fce26af6b9c181a99197bfc9bc6c778561ad55a375480f4d0d73bb34078b5d18'
)
package() {
tar xf data.tar* -C "${pkgdir}"
install -d "${pkgdir}/usr/bin"
cp kicad-nightly.env "$pkgdir/usr/share/kicad-nightly/kicad-nightly.env"
cat > "$pkgdir/usr/bin/$prog-nightly" <<EOF
#!/bin/sh
. /usr/share/kicad-nightly/kicad-nightly.env
exec /usr/lib/kicad-nightly/bin/$prog
EOF
#install -Dm755 "${srcdir}"/ "${pkgdir}"/
}
|