summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeimos2019-01-17 18:46:39 -0500
committerDeimos2019-01-17 18:46:39 -0500
commitbd3bd9b7cc0a2f0f4880ce866cd4fc7c5a5d9a5d (patch)
tree45fc8b4aef4d10fdd0e74df82ecfa5b0ffef504c
parentd830bb7334c290c6d77756bb7570fdfe3c386a5c (diff)
downloadaur-bd3bd9b7cc0a2f0f4880ce866cd4fc7c5a5d9a5d.tar.gz
add name field to shortcut
-rwxr-xr-xPKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 025f74fce83f..08c2e7707537 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -30,6 +30,7 @@ build() {
package() {
cd "$pkgname-33"
make DESTDIR="$pkgdir" install
+ echo "Name=Chess" >> "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop"
sed -i "s/Applications.app/Applications\/Chess.app/" "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop"
sed -i "s/ChessApp.tiff/chess.icns/" "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop"
install -Dm644 "$pkgdir/usr/lib/GNUstep/Applications/$_pkgname.app/Resources/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"