diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = insect pkgdesc = High precision scientific calculator with support for physical units pkgver = 5.9.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/sharkdp/insect arch = any license = MIT @@ -3,7 +3,7 @@ _npmname=insect _npmver=5.9.0 pkgname=insect pkgver=5.9.0 -pkgrel=1 +pkgrel=2 pkgdesc="High precision scientific calculator with support for physical units" arch=(any) url="https://github.com/sharkdp/insect" @@ -26,6 +26,8 @@ package() { find "${pkgdir}"/usr -type d -exec chmod 755 {} + find "${pkgdir}" -name package.json -print0 | xargs -r -0 sed -i '/_where/d' + install -Dm644 "$_npmdir/insect/insect.desktop" "${pkgdir}/usr/share/applications/insect.desktop" + chown -R root:root "${pkgdir}" } |