diff options
author | Rafael Silva | 2021-04-22 00:12:55 +0100 |
---|---|---|
committer | Rafael Silva | 2021-04-22 00:12:55 +0100 |
commit | 463c1dd3ec1206580db1eccce4d38cb7f214e0ca (patch) | |
tree | 551a9731f806954594b6cb4b43cad19f268aafa7 | |
parent | d7fb7aff9cf7eae0ffc6cd65b68baf7275a8aaa1 (diff) | |
download | aur-463c1dd3ec1206580db1eccce4d38cb7f214e0ca.tar.gz |
install LICENSE
Signed-off-by: Rafael Silva <perigoso@riseup.net>
-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}" } |