Advertisement
Guest User

kicad-footprints

a guest
Mar 19th, 2019
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.75 KB | None | 0 0
  1. # Maintainer: Grey Christoforo <first name at last name dot net>
  2.  
  3. pkgname=kicad-footprints
  4. pkgver=5.1.0
  5. pkgrel=1
  6. pkgdesc="KiCad footprint libraries"
  7. arch=('any')
  8. url="https://github.com/KiCad/kicad-footprints"
  9. license=('GPL')
  10. makedepends=('cmake')
  11. options=('!strip')
  12. conflicts=('kicad-footprints-git' 'kicad-library-git' 'kicad-library' 'kicad-library-3d')
  13. source=("https://github.com/KiCad/$pkgname/archive/$pkgver.tar.gz")
  14. sha256sums=('965cb3902df557a32ecf4101c37af3e43291f2485f42a23392797da837523e23')
  15.  
  16. build() {
  17.   cd "$srcdir"
  18.   mkdir -p "$srcdir/build/"
  19.   cd "$srcdir/build"
  20.   cmake ../${pkgname}-${pkgver} -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
  21. }
  22.  
  23. package() {
  24.   cd "$srcdir/build"
  25.   make DESTDIR="$pkgdir" install
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement