1 # Maintainer: Filipe LaĆns <lains@archlinux.org>
2 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
3 # Contributor: Kyle Keen <keenerd@gmail.com>
4 # Contributor: Rachel Mant <aur@dragonmux.network>
7 pkgname=($pkgbase{,-3d})
10 pkgdesc='Assorted libraries for KiCad'
12 url='http://kicad.org/'
14 makedepends=('git' 'cmake')
17 'git+https://gitlab.com/kicad/libraries/kicad-packages3D.git#commit=fbe7ce40b9937b20195822aafc9390742089f727'
18 'git+https://gitlab.com/kicad/libraries/kicad-symbols.git#commit=ceb4d7bdb7a15722c13ac355b8f5c8ca8698a797'
19 'git+https://gitlab.com/kicad/libraries/kicad-templates.git#commit=867eef383a0f61015cb69677d5c632d78a2ea01a'
20 'git+https://gitlab.com/kicad/libraries/kicad-footprints.git#commit=62b8ab8b7b0a57b29c6ffaa7a246a671c72fb1b5'
28 for package in symbols footprints packages3D templates; do
32 -DCMAKE_INSTALL_PREFIX=/usr
34 cmake --build "build-$package"
38 package_kicad-library() {
39 pkgdesc="KiCad symbol, footprint and template libraries"
41 for package in symbols footprints templates; do
42 DESTDIR="$pkgdir" cmake --install "build-$package"
46 package_kicad-library-3d() {
47 pkgdesc="KiCad 3D model libraries"
49 DESTDIR="$pkgdir" cmake --install build-packages3D
52 # vim:set ts=2 sw=2 et: