diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,14 +1,16 @@ # Maintainer: Nick Østergaard <oe.nick at gmail dot com> pkgname=kicad-pretty-git pkgver=1 -pkgrel=2 +pkgrel=3 pkgdesc="KiCad .pretty repos. Theese are the new footprint library." arch=('any') url="https://github.com/KiCad" license=('GPL') -makedepends=('git') +makedepends=('git' 'curl') options=('!strip') install='kicad.install' +source=('https://raw.githubusercontent.com/KiCad/kicad-library/master/template/fp-lib-table.for-pretty') +md5sums=('SKIP') package() { @@ -39,8 +41,7 @@ package() { cp -r "$srcdir/$repo" "$pkgdir/usr/share/kicad/footprints" done - wget -q https://raw.githubusercontent.com/KiCad/kicad-library/master/template/fp-lib-table.for-pretty \ - -O "$pkgdir/usr/share/kicad/footprints/fp-lib-table" + mv $srcdir/fp-lib-table.for-pretty "$pkgdir/usr/share/kicad/footprints/fp-lib-table" mkdir -p "$pkgdir/etc/profile.d" echo "export KISYSMOD=/usr/share/kicad/footprints" > "$pkgdir/etc/profile.d/kicad-pretty-git.sh" |