diff options
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,7 +2,7 @@ pkgname=easyeda2kicad pkgver=1.9.2 -pkgrel=1 +pkgrel=2 pkgdesc="Convert EasyEDA designs to KiCad EDA" arch=('any') url="https://github.com/wokwi/easyeda2kicad" @@ -15,6 +15,7 @@ sha256sums=('378fff1370e85b4cbd5956fc53907b7de90ae8f910d53ba13c98fecac416fb23') package() { cd ${pkgname}-${pkgver} npm install -g --prefix "${pkgdir}/usr" ${pkgname} - find "${pkgdir}/usr" -type d -exec chmod 755 {} + + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + find "${pkgdir}/usr" -type d -exec chmod 755 {} + chown -R root:root "${pkgdir}" } |