blob: 4e66db5474bbf8ded4fbbb55192e46086b387eb4 (
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
28
29
30
31
32
33
|
pkgname=subtitleedit
pkgver=3.4.13
pkgrel=1
pkgdesc="A subtitle editor"
arch=('i686' 'x86_64')
url="http://www.nikse.dk/subtitleedit/"
license=('GPL3')
depends=('mono')
makedepends=('unzip' 'imagemagick')
source=(
"https://github.com/SubtitleEdit/subtitleedit/releases/download/$pkgver/SE${pkgver//./}.zip"
"https://raw.githubusercontent.com/SubtitleEdit/subtitleedit/$pkgver/src/Icons/SE.ico"
"subtitleedit"
"subtitleedit.desktop"
)
sha256sums=(
'f2d412fe04ae1fc1df0bb19ae67522a6ac270be3e3831933852ec3380e68c674'
'a2d211e7ce3597b25db9f921590169c89d0b47dad48669dfffb6795a7ba534cd'
'2b3a8541cfd6fffc081e4b0163c226f2b3eefdc8729035098113a0c9792f25ae'
'5423868ec98b14cf2f46fe07f48f69477ad45409be90d1e8e58aaa2d1120faa1'
)
noextract=("SE${pkgver//./}.zip")
package() {
install -d "$pkgdir/usr/share/subtitleedit"
unzip "$srcdir/SE${pkgver//./}.zip" -d "$pkgdir/usr/share/subtitleedit"
install -Dm755 "$srcdir/subtitleedit" "$pkgdir/usr/bin/subtitleedit"
install -Dm644 "$srcdir/subtitleedit.desktop" "$pkgdir/usr/share/applications/subtitleedit.desktop"
install -d "$pkgdir/usr/share/pixmaps"
convert "$srcdir/SE.ico[6]" "$pkgdir/usr/share/pixmaps/subtitleedit.png"
}
|