diff options
author | Vej Kse | 2024-01-10 16:00:51 +0100 |
---|---|---|
committer | Vej Kse | 2024-01-10 16:08:07 +0100 |
commit | 39e1cc38e5bc29afeae20ee5f19bd56d28c04688 (patch) | |
tree | 5aaa06727056707d02d8f8a3be41af3a221eccc5 | |
parent | d0d59cb7b7783aa23511cdf6b666b688b1f1e4b1 (diff) | |
download | aur-39e1cc38e5bc29afeae20ee5f19bd56d28c04688.tar.gz |
Add 'subsync' as command name and add 'exec' to the wrapper
Upstream has three names for the command: 'ffs', 'ffsubsync' and
'subsync'. The latter was missing from this package.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | ffs.sh | 2 |
3 files changed, 6 insertions, 5 deletions
@@ -1,7 +1,7 @@ pkgbase = python-ffsubsync-venv pkgdesc = Language-agnostic automatic synchronization of subtitles with video. (Installed inside a Python virtual environment) pkgver = 0.4.25 - pkgrel = 1 + pkgrel = 2 url = https://github.com/smacke/ffsubsync install = ffsubsync-venv.install arch = any @@ -9,6 +9,6 @@ pkgbase = python-ffsubsync-venv depends = ffmpeg conflicts = python-ffsubsync source = ffs.sh - sha256sums = 547f73f58ab3d7217b0ea211517d7ea7d0c76cbc49a1655ccd7be774ab57b396 + sha256sums = 6c8226cc63e639ed29673d1436792caca0b0cbfd63d4e8baa3ab9350d4e3dfb8 pkgname = python-ffsubsync-venv @@ -10,13 +10,13 @@ _pkgname=ffsubsync-venv pkgname=python-$_pkgname pkgver=0.4.25 -pkgrel=1 +pkgrel=2 pkgdesc="Language-agnostic automatic synchronization of subtitles with video. (Installed inside a Python virtual environment)" arch=(any) url="https://github.com/smacke/ffsubsync" license=('MIT') source=('ffs.sh') -sha256sums=('547f73f58ab3d7217b0ea211517d7ea7d0c76cbc49a1655ccd7be774ab57b396') +sha256sums=('6c8226cc63e639ed29673d1436792caca0b0cbfd63d4e8baa3ab9350d4e3dfb8') depends=('ffmpeg') conflicts=('python-ffsubsync') install=ffsubsync-venv.install @@ -25,6 +25,7 @@ package() { mkdir -p "$pkgdir"/usr/{bin,share/ffsubsync-venv} install -m 755 -o 0 -g 0 ffs.sh "$pkgdir"/usr/bin/ffs install -m 755 -o 0 -g 0 ffs.sh "$pkgdir"/usr/bin/ffsubsync + install -m 755 -o 0 -g 0 ffs.sh "$pkgdir"/usr/bin/subsync venv="$pkgdir/usr/share/ffsubsync-venv" python -m venv --copies "$venv" @@ -1,3 +1,3 @@ #!/bin/sh . /usr/share/ffsubsync-venv/bin/activate -/usr/share/ffsubsync-venv/bin/ffs "$@" +exec /usr/share/ffsubsync-venv/bin/ffs "$@" |