summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO67
-rw-r--r--PKGBUILD80
-rw-r--r--audiobookconverter-bin.install11
3 files changed, 158 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..21bf0d585eb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,67 @@
+pkgbase = audiobookconverter-bin
+ pkgdesc = Improved AudioBookConverter based on freeipodsoftware release (mp3 to m4b converter)
+ pkgver = 5.5.18
+ pkgrel = 1
+ url = https://github.com/yermak/AudioBookConverter
+ install = audiobookconverter-bin.install
+ arch = x86_64
+ license = GPL2
+ depends = glibc
+ depends = alsa-lib
+ depends = at-spi2-atk
+ depends = at-spi2-core
+ depends = atk
+ depends = cairo
+ depends = dbus
+ depends = desktop-file-utils
+ depends = fontconfig
+ depends = freetype2
+ depends = gdk-pixbuf2
+ depends = glib2
+ depends = graphite
+ depends = gtk2
+ depends = gtk3
+ depends = harfbuzz
+ depends = hicolor-icon-theme
+ depends = libbsd
+ depends = libdatrie
+ depends = libepoxy
+ depends = libgcrypt
+ depends = libgl
+ depends = libglvnd
+ depends = libgpg-error
+ depends = libpng
+ depends = libselinux
+ depends = libthai
+ depends = libx11
+ depends = libxau
+ depends = libxcb
+ depends = libxcomposite
+ depends = libxcursor
+ depends = libxdamage
+ depends = libxdmcp
+ depends = libxext
+ depends = libxfixes
+ depends = libxi
+ depends = libxinerama
+ depends = libxkbcommon
+ depends = libxrandr
+ depends = libxrender
+ depends = libxtst
+ depends = lz4
+ depends = pcre
+ depends = pixman
+ depends = systemd-libs
+ depends = util-linux-libs
+ depends = wayland
+ depends = xdg-utils
+ depends = zlib
+ provides = audiobookconverter
+ options = !strip
+ options = !emptydirs
+ source = https://github.com/yermak/AudioBookConverter/releases/download/version_5.5.18/audiobookconverter_5.5.18-1_amd64.deb
+ source = audiobookconverter-bin.install
+ sha512sums = f5bca205e4357711e930978759ae475fe201c65d74301083cb9d8ec6db59037e77e45b3970aedbead646fa8a914c02390e648f2e239cd44e395d1517893a2055
+ sha512sums = 620d4d55985dfca088918e0daede656b158fa199c64f03f365c9305fef239e2d2eb82cd15e9de3ad63fb891efdeb4c1faf6487b6e88f73f97b1b6de97b8471f3
+
+pkgname = audiobookconverter-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..22663e2c3c4
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,80 @@
+# Maintainer: johnpyp <johnpyp.dev@gmail.com>
+pkgname=audiobookconverter-bin
+pkgver=5.5.18
+pkgrel=1
+epoch=
+pkgdesc="Improved AudioBookConverter based on freeipodsoftware release (mp3 to m4b converter)"
+arch=("x86_64")
+url="https://github.com/yermak/AudioBookConverter"
+license=('GPL2')
+groups=()
+depends=(
+ "glibc"
+ "alsa-lib"
+ "at-spi2-atk"
+ "at-spi2-core"
+ "atk"
+ "cairo"
+ "dbus"
+ "desktop-file-utils"
+ "fontconfig"
+ "freetype2"
+ "gdk-pixbuf2"
+ "glib2"
+ "graphite"
+ "gtk2"
+ "gtk3"
+ "harfbuzz"
+ "hicolor-icon-theme"
+ "libbsd"
+ "libdatrie"
+ "libepoxy"
+ "libgcrypt"
+ "libgl"
+ "libglvnd"
+ "libgpg-error"
+ "libpng"
+ "libselinux"
+ "libthai"
+ "libx11"
+ "libxau"
+ "libxcb"
+ "libxcomposite"
+ "libxcursor"
+ "libxdamage"
+ "libxdmcp"
+ "libxext"
+ "libxfixes"
+ "libxi"
+ "libxinerama"
+ "libxkbcommon"
+ "libxrandr"
+ "libxrender"
+ "libxtst"
+ "lz4"
+ "pcre"
+ "pixman"
+ "systemd-libs"
+ "util-linux-libs"
+ "wayland"
+ "xdg-utils"
+ "zlib"
+)
+provides=('audiobookconverter')
+options=('!strip' '!emptydirs')
+install=${pkgname}.install
+source=("https://github.com/yermak/AudioBookConverter/releases/download/version_${pkgver}/audiobookconverter_${pkgver}-${pkgrel}_amd64.deb"
+ "audiobookconverter-bin.install")
+sha512sums=('f5bca205e4357711e930978759ae475fe201c65d74301083cb9d8ec6db59037e77e45b3970aedbead646fa8a914c02390e648f2e239cd44e395d1517893a2055'
+ '620d4d55985dfca088918e0daede656b158fa199c64f03f365c9305fef239e2d2eb82cd15e9de3ad63fb891efdeb4c1faf6487b6e88f73f97b1b6de97b8471f3')
+
+package() {
+ tar xf data.tar.xz -C "${pkgdir}"
+
+ install -dm0755 "${pkgdir}/usr/bin"
+ ln -sf "/opt/audiobookconverter/bin/AudioBookConverter" "${pkgdir}/usr/bin/audiobookconverter"
+
+ cp -dpr --no-preserve=ownership "${pkgdir}/opt/audiobookconverter/lib" "${pkgdir}/usr/lib"
+
+ install -Dm644 "${pkgdir}/opt/audiobookconverter/lib/audiobookconverter-AudioBookConverter.desktop" "${pkgdir}"/usr/share/applications/audiobookconverter.desktop
+}
diff --git a/audiobookconverter-bin.install b/audiobookconverter-bin.install
new file mode 100644
index 00000000000..a1b9038c891
--- /dev/null
+++ b/audiobookconverter-bin.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ #
+ update-desktop-database -q
+}
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ #
+ update-desktop-database -q
+}