summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDavid Peter2023-07-23 19:46:06 +0200
committerDavid Peter2023-07-23 19:46:06 +0200
commita70c70c246dae311b51e42d097e620452a2c33db (patch)
treee381340f6316cee0aad9dd07547cecc64d63d467 /PKGBUILD
parent6057a2c7b03448671c086cac594f2fb8c3948a5e (diff)
downloadaur-a70c70c246dae311b51e42d097e620452a2c33db.tar.gz
Add insect.desktop file
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 615e63ccf9fa..16fc5902051e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}"
}