blob: c8063ab2229f786f2cffcd525789b5c6fc83adb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=gsubs-bin
pkgver=1.0.3
pkgrel=1
pkgdesc="A desktop app that finds you the perfect subtitle match"
arch=('x86_64')
url='https://cholaware.com/gsubs'
license=('MIT')
provides=('gsubs')
depends=('gtk3'
'nss'
'libxss')
makedepends=('tar')
source=("${pkgname}-${pkgver}.deb::https://github.com/sanjevirau/gsubs/releases/download/v${pkgver}/gsubs_${pkgver}_amd64.deb"
'LICENSE::https://github.com/sanjevirau/gsubs/raw/master/LICENSE')
sha256sums=('8a11af1f208c37ba0c72078c427a669de6ab330897ee24b52691169bad652855'
'6d36933ec352f97ed680a03fa8267ee496a4985e151cfcfff43eb7cd6902d4c2')
package() {
tar xvf data.tar.xz -C "${pkgdir}"
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
echo "#!/usr/bin/env bash
LD_LIBRARY_PATH=/opt/pango-legacy/usr/lib /opt/gSubs/gsubs" > gsubs.sh
install -Dm755 gsubs.sh "${pkgdir}/usr/bin/gsubs"
sed -i '4s|.*|Exec=gsubs|' "${pkgdir}/usr/share/applications/gsubs.desktop"
}
|