summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD51
-rw-r--r--subtitle-master.desktop11
-rw-r--r--subtitle-master.pngbin0 -> 34971 bytes
4 files changed, 85 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6bbe6a712ae
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = subtitle-master
+ pkgdesc = Easily find and download subtitles for your videos.
+ pkgver = 2.0.0
+ pkgrel = 2
+ url = http://subtitlemaster.com/
+ arch = x86_64
+ arch = i686
+ license = custom
+ depends = ttf-liberation
+ depends = gconf
+ depends = nss
+ provides = subtitle-master
+ conflicts = subtitle-master
+ options = !strip
+ source = https://github.com/subtitle-master/subtitlemaster/releases/download/2.0.0-beta1/subtitle-master-2.0.0-beta1-linux64.zip
+ source = subtitle-master.png
+ source = subtitle-master.desktop
+ sha1sums = af87faf0c0c59be3d3efc3a24f13bd0f80a6f418
+ sha1sums = a07f3ec238c3f68e8e26593e27069f2f31fbe309
+ sha1sums = d3c692aa68d8ba5b9a0848822f4225c3b2a0ae35
+
+pkgname = subtitle-master
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..21d0cb43e1a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,51 @@
+# Maintainer: Ricardo Funke <ricardo [at] gmail [dot] com>
+
+pkgname=subtitle-master
+pkgver=2.0.0
+_pkgver=${pkgver}-beta1
+pkgrel=2
+pkgdesc="Easily find and download subtitles for your videos."
+arch=('x86_64' 'i686')
+url="http://subtitlemaster.com/"
+license=('custom')
+depends=('ttf-liberation' 'gconf' 'nss')
+provides=('subtitle-master')
+conflicts=('subtitle-master')
+options=('!strip')
+sha1sums=('af87faf0c0c59be3d3efc3a24f13bd0f80a6f418'
+ 'a07f3ec238c3f68e8e26593e27069f2f31fbe309'
+ 'd3c692aa68d8ba5b9a0848822f4225c3b2a0ae35')
+
+_platform=linux64
+
+if [ "$CARCH" = 'i686' ]; then
+ _platform=linux32
+ sha1sums[0]='23d419b5b0e74bb31cdf15e1624074ea94372f40'
+fi
+
+source=("https://github.com/subtitle-master/subtitlemaster/releases/download/${_pkgver}/${pkgname}-${_pkgver}-${_platform}.zip"
+ "subtitle-master.png"
+ "subtitle-master.desktop")
+
+package() {
+ cd "${srcdir}"
+
+ install -dm755 "${pkgdir}/opt/${pkgname}/"
+ install -dm755 "${pkgdir}/usr/bin"
+ install -dm755 "${pkgdir}/usr/share"
+
+ # Program
+ echo "${pkgdir}/opt/${pkgname}/"
+ install -Dm755 "${srcdir}/Subtitle Master/Subtitle Master" "${pkgdir}/opt/${pkgname}/subtitlemaster"
+ install -Dm644 "${srcdir}/Subtitle Master/nw.pak" "${pkgdir}/opt/${pkgname}/"
+ install -Dm644 "${srcdir}/Subtitle Master/libffmpegsumo.so" "${pkgdir}/opt/${pkgname}/"
+
+ # Link to program
+ ln -s "/opt/${pkgname}/subtitlemaster" "${pkgdir}/usr/bin/subtitlemaster"
+
+ # Desktop file
+ install -Dm644 "${srcdir}/subtitle-master.desktop" "${pkgdir}/usr/share/applications/subtitle-master.desktop"
+
+ # Icon
+ install -Dm644 "${srcdir}/subtitle-master.png" "${pkgdir}/usr/share/pixmaps/subtitle-master.png"
+}
diff --git a/subtitle-master.desktop b/subtitle-master.desktop
new file mode 100644
index 00000000000..9680e5d9b5d
--- /dev/null
+++ b/subtitle-master.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Subtitle Master
+Comment=Find and download subtitles for your videos.
+Comment[pt_BR]=Encontre e baixe legendas para os seus filmes.
+Keywords=subtitle;subtitles;movie;movies;video;videos
+Keywords[pt_BR]=legenda;legendas;filme;filmes;vídeo;vídeos
+Exec=subtitlemaster %U
+Icon=subtitle-master
+Terminal=false
+Type=Application
+Categories=Multimedia;
diff --git a/subtitle-master.png b/subtitle-master.png
new file mode 100644
index 00000000000..e1ab36e6806
--- /dev/null
+++ b/subtitle-master.png
Binary files differ