summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortatsumoto2020-06-20 23:12:17 +0300
committertatsumoto2020-06-20 23:12:17 +0300
commitd7dcee82615fafe167b8253c777e4d5ddac6caff (patch)
treeb91bf36bd68725ac1641eeb9dda3810386f2a51c
parent42e0dbc0150272ff0c36b92bdb0a2af716030d96 (diff)
downloadaur-d7dcee82615fafe167b8253c777e4d5ddac6caff.tar.gz
add a desktop entry for subs re-timer
-rw-r--r--PKGBUILD14
1 files changed, 14 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 44ccca29f26e..05653864007b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -48,6 +48,20 @@ package() {
Version=1.0
END
+ cat <<-END > "$pkgdir/usr/share/applications/subsretimer.desktop"
+ [Desktop Entry]
+ Name=Subs Re-Timer
+ Comment=Re-time a subtitle file based on the timings of another subtitle file
+ GenericName=Subs Re-Timer
+ Exec=mono /opt/subs2srs/Utils/SubsReTimer/SubsReTimer.exe
+ Icon=subsretimer
+ Categories=Education;Languages;AudioVideo;Audio;Video;
+ Terminal=false
+ Type=Application
+ StartupNotify=true
+ Version=1.0
+ END
+
ln -sf /usr/bin/ffmpeg "$pkgdir/opt/subs2srs/Utils/ffmpeg/ffmpeg.exe"
ln -sf /usr/bin/mp3gain "$pkgdir/opt/subs2srs/Utils/mp3gain/mp3gain.exe"
ln -sf /usr/bin/mkvextract "$pkgdir/opt/subs2srs/Utils/mkvtoolnix/mkvextract.exe"