diff options
author | viktorstrate | 2017-02-24 14:48:29 +0100 |
---|---|---|
committer | viktorstrate | 2017-02-24 14:48:29 +0100 |
commit | cc1f592d949275c30837d2dd9fd26eda6bf98cc2 (patch) | |
tree | 6e2a17a117f4ab4e8b3fd84e99080b1852ee0c0e | |
download | aur-cc1f592d949275c30837d2dd9fd26eda6bf98cc2.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 36 | ||||
-rwxr-xr-x | tinyMediaManager.desktop | 9 |
3 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ffe31e9a4c48 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = tiny-media-manager + pkgdesc = A multi-OS media managment tool + pkgver = 2.9.2 + pkgrel = 1 + url = http://www.tinymediamanager.org + arch = any + license = Apache-2.0 + makedepends = maven + depends = libmediainfo + depends = jre8-openjdk + source = https://github.com/tinyMediaManager/tinyMediaManager/archive/tinyMediaManager-2.9.2.tar.gz + source = tinyMediaManager.desktop + md5sums = 352ce4dc6c9366f5955c2bc0c61735fb + md5sums = 4a8fd16c1295e18ec4fe9c0a8ad61d87 + +pkgname = tiny-media-manager + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..98e0972cbe42 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Viktor Hundahl Strate <viktorstrate@gmail.com> + +gitname=tinyMediaManager + +pkgname=tiny-media-manager +pkgver=2.9.2 +pkgrel=1 +pkgdesc="A multi-OS media managment tool" +arch=('any') +url="http://www.tinymediamanager.org" +license=('Apache-2.0') +depends=('libmediainfo' 'jre8-openjdk') +makedepends=('maven') +source=("https://github.com/tinyMediaManager/tinyMediaManager/archive/$gitname-$pkgver.tar.gz" + "tinyMediaManager.desktop") +md5sums=('352ce4dc6c9366f5955c2bc0c61735fb' + '4a8fd16c1295e18ec4fe9c0a8ad61d87') + +build() { + cd "$gitname-$gitname-$pkgver" + mvn package +} + +package() { + mkdir -p "$pkgdir/usr/share/$gitname" + cd "$srcdir/$gitname-$gitname-$pkgver/dist" + + tar -xvf tmm_"$pkgver"_*_linux.tar.gz + rm tmm_"$pkgver"_*_linux.tar.gz + + cp -r * "$pkgdir/usr/share/$gitname" + chmod -R 777 "$pkgdir/usr/share/$gitname" + + # Install desktop entry + install -D "$srcdir/tinyMediaManager.desktop" "$pkgdir/usr/share/applications/tinyMediaManager.desktop" +} diff --git a/tinyMediaManager.desktop b/tinyMediaManager.desktop new file mode 100755 index 000000000000..e78606df9a81 --- /dev/null +++ b/tinyMediaManager.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Type=Application +Name=Tiny Media Manager +Exec=/usr/share/tinyMediaManager/tinyMediaManager.sh +Icon=/usr/share/tinyMediaManager/tmm.png +Comment=A multi-OS media managment tool +Categories=AudioVideo;Video;Database;Java; +Version=2.9.2 |