blob: ed72a2ef7e841892bd6f6be50a5ab5dd6ac594b3 (
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
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Luca Canavese <l.canavese@protonmail.com>
# Contributor: Simon Legner <Simon.Legner@gmail.com>
# Contributor: Filippo Berto <berto.f at protonmail dot com>
# Contributor: Viktor Hundahl Strate <viktorstrate@gmail.com>
_gitname=tinyMediaManager
pkgname=tiny-media-manager-3
pkgver=3.1.18
pkgrel=1
pkgdesc="A multi-OS media managment tool (v3)"
arch=('any')
url="https://www.tinymediamanager.org/"
license=('Apache')
depends=('libmediainfo' 'java-runtime')
install=tinyMediaManager.install
noextract=("tmm_${pkgver}_linux.tar.gz")
conflicts=('tiny-media-manager')
# https://gitlab.com/tinyMediaManager/tinyMediaManager/-/packages
source=("tmm_${pkgver}_${pkgrel}_linux.tar.gz::https://archive.tinymediamanager.org/v${pkgver}/tmm_${pkgver}_linux.tar.gz"
"tinyMediaManager.desktop"
"tinymediamanager"
"tinymediamanager-cli"
"tinymediamanager.JAVA_OPTS")
sha256sums=('12b53e5dd000987b4bcca57c00a5a2522f9786a0ebef0d577b20c462cffcee47'
'02bbfd492d10114cd314fc24fd7016532b0b992077d722d8bfccc4f99a79b7a3'
'4bf36dd16bfc02a39ddde88cfcf30b4f4a5f0b08d2b34ffbab03f6553f57d596'
'2d3df36c67a710b03b8fea3ac58c49307da8db22b7c6f8fd0011552fe94dde26'
'0ef3bc3693a346dde08c0d01693a48ccf630bea2cb2aa2e31ce9ce77a408f2ba')
package() {
destpath="$pkgdir/usr/share/$_gitname"
mkdir -p "$destpath"
tar -xvf "tmm_${pkgver}_${pkgrel}_linux.tar.gz" -C "$destpath"
install -m644 tinymediamanager.JAVA_OPTS "$destpath/tmm.JAVA_OPTS"
# Install desktop entry
install -D "$srcdir/tinyMediaManager.desktop" "$pkgdir/usr/share/applications/tinyMediaManager.desktop"
install -D "$destpath/tmm.png" "$pkgdir/usr/share/pixmaps/tmm.png"
# Install launch scripts
install -D "$srcdir/tinymediamanager-cli" "$pkgdir/usr/bin/tinymediamanager-cli"
install -D "$srcdir/tinymediamanager" "$pkgdir/usr/bin/tinymediamanager"
}
|