diff options
author | Nick Østergaard | 2015-01-25 13:37:39 +0100 |
---|---|---|
committer | Nick Østergaard | 2015-01-25 13:37:39 +0100 |
commit | 52bb4b405e0324ab9902d314e897c7dac1ca6968 (patch) | |
tree | f2dd370cc2f03c5d94de84087d2bef4bab292922 | |
parent | cf1f5ec7a9cddbd3b5bc0d73f1f4bed3d5f9afff (diff) | |
download | aur-52bb4b405e0324ab9902d314e897c7dac1ca6968.tar.gz |
Fix copy on empty pretty dir
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = kicad-pretty-git pkgdesc = KiCad .pretty repos. Theese are the new footprint library. - pkgver = a + pkgver = f20f5d1 pkgrel = 1 url = https://github.com/KiCad install = kicad.install @@ -14,7 +14,7 @@ if [ -x /usr/bin/curl ]; then fi pkgname=kicad-pretty-git -pkgver=a # 0 > a and git revision can start from letter +pkgver=f20f5d1 # 0 > a and git revision can start from letter pkgrel=1 pkgdesc="KiCad .pretty repos. Theese are the new footprint library." arch=('any') @@ -49,7 +49,7 @@ package() { for repo in ${PRETTY_REPOS[@]}; do install -d "$pkgdir/usr/share/kicad/footprints/$repo/" - cp -r "$srcdir/$repo/"* "$pkgdir/usr/share/kicad/footprints/$repo/" # change to install? + cp -r "$srcdir/$repo" "$pkgdir/usr/share/kicad/footprints/" # change to install? done mv $(readlink -f "${srcdir}/fp-lib-table.for-pretty") "$pkgdir/usr/share/kicad/footprints/fp-lib-table" # Check chmods, change to install? |