summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMusee Ullah2022-01-03 22:40:35 -0600
committerMusee Ullah2022-01-03 22:41:25 -0600
commit6f212a327c9f72cf773bcb651bed5d5c6b9de86b (patch)
treeb96052321f1b07cbb7e1703ec4ff6094c9098f7a
downloadaur-6f212a327c9f72cf773bcb651bed5d5c6b9de86b.tar.gz
Initial upload: ytsubconverter-bin 1.5.4-1
Initial Linux release of YTSubConverter (1.5.4)
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD36
-rw-r--r--ytsubconverter.desktop7
3 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..b84bb50a6d10
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = ytsubconverter-bin
+ pkgdesc = A tool for creating styled YouTube subtitles
+ pkgver = 1.5.4
+ pkgrel = 1
+ url = https://github.com/arcusmaximus/YTSubConverter
+ arch = x86_64
+ license = MIT
+ depends = mono
+ provides = ytsubconverter
+ source = ytsubconverter.desktop
+ source = https://github.com/arcusmaximus/YTSubConverter/releases/download/1.5.4/YTSubConverter-Linux.tar.xz
+ sha256sums = 8d28386263f039bf3e7db1ff7db97039a23aa8f1eb345c769a8e8da388fccb5a
+ sha256sums = 80c8ef0c24abe3bbfc40060b2c87b0d4bc3529d909cb3adf63c8f242cc327b29
+
+pkgname = ytsubconverter-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..07bf8a853dc6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Musee "lae" Ullah <lae(at)lae(dot)is>
+
+pkgname=ytsubconverter-bin
+_reponame=YTSubConverter
+pkgver=1.5.4
+pkgrel=1
+pkgdesc="A tool for creating styled YouTube subtitles"
+arch=('x86_64')
+url="https://github.com/arcusmaximus/YTSubConverter"
+license=('MIT')
+provides=('ytsubconverter')
+depends=('mono')
+source=("ytsubconverter.desktop"
+ "https://github.com/arcusmaximus/${_reponame}/releases/download/${pkgver}/${_reponame}-Linux.tar.xz")
+sha256sums=('8d28386263f039bf3e7db1ff7db97039a23aa8f1eb345c769a8e8da388fccb5a'
+ '80c8ef0c24abe3bbfc40060b2c87b0d4bc3529d909cb3adf63c8f242cc327b29')
+
+package() {
+ install -Dm644 "${srcdir}/ytsubconverter.desktop" "${pkgdir}/usr/share/applications/ytsubconverter.desktop"
+
+ install -d "${pkgdir}/opt/${_reponame}"
+ for dll in AtkSharp CairoSharp GdkSharp GioSharp GLibSharp GtkSharp \
+ PangoSharp YTSubConverter.Shared
+ do
+ install -Dm644 "${srcdir}/${_reponame}/${dll}.dll" "${pkgdir}/opt/${_reponame}/${dll}.dll"
+ done
+ for lang in ja ko ms pl ru zh-Hans zh-Hant
+ do
+ install -Dm644 "${srcdir}/${_reponame}/${lang}/YTSubConverter.Shared.resources.dll" \
+ "${pkgdir}/opt/${_reponame}/${lang}/YTSubConverter.Shared.resources.dll"
+ done
+ for f in checkers.png StyleOptions.xml YTSubConverter.exe
+ do
+ install -Dm644 "${srcdir}/${_reponame}/${f}" "${pkgdir}/opt/${_reponame}/${f}"
+ done
+}
diff --git a/ytsubconverter.desktop b/ytsubconverter.desktop
new file mode 100644
index 000000000000..ce1e96f13f49
--- /dev/null
+++ b/ytsubconverter.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=YTSubConverter
+Comment=A tool for creating styled YouTube subtitles
+Exec=/usr/bin/mono /opt/YTSubConverter/YTSubConverter.exe %u
+Terminal=false
+Type=Application