summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHezekiah Michael2019-10-19 20:33:36 -0400
committerHezekiah Michael2019-10-19 20:33:36 -0400
commitb8d18507ed3119d0207b185a4066a91577b889ca (patch)
tree341b9f5ae9a185bd8c56c4abf1b6180fa4f6165f
downloadaur-b8d18507ed3119d0207b185a4066a91577b889ca.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD25
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..a8545b0d86f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = m4b-tool-bin
+ pkgdesc = A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b
+ pkgver = 0.4.2
+ pkgrel = 1
+ url = https://github.com/sandreas/m4b-tool
+ arch = x86_64
+ license = MIT
+ depends = ffmpeg
+ depends = libmp4v2
+ depends = php
+ depends = php-intl
+ optdepends = fdkaac: for high efficiency codecs to perform conversions
+ options = !strip
+ source = m4b-tool.tar.gz::https://github.com/sandreas/m4b-tool/releases/download/v.0.4.2/m4b-tool.tar.gz
+ md5sums = 60746a96431c068f6880ebf510e2bac7
+ sha256sums = 0ec79733770379dbd11ea9d76fd03d62d8aacca8e66730779f7caaa92f577ba7
+
+pkgname = m4b-tool-bin
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b2c13ebdac1
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.tar.gz
+*.tar.xz
+pkg
+src
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f4bf4c278f5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Hezekiah Michael <spiritomb at protonmail dot com>
+
+pkgdesc='A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b'
+pkgname=('m4b-tool-bin')
+pkgver=0.4.2
+pkgrel=1
+arch=('x86_64')
+license=('MIT')
+url="https://github.com/sandreas/m4b-tool"
+makedepends=()
+depends=('ffmpeg'
+ 'libmp4v2'
+ 'php'
+ 'php-intl')
+optdepends=('fdkaac: for high efficiency codecs to perform conversions')
+options=('!strip')
+source=("m4b-tool.tar.gz::https://github.com/sandreas/m4b-tool/releases/download/v.${pkgver}/m4b-tool.tar.gz")
+
+
+package() {
+ cd ${srcdir}
+ install -Dm 755 m4b-tool.phar "${pkgdir}/usr/bin/m4b-tool"
+}
+md5sums=('60746a96431c068f6880ebf510e2bac7')
+sha256sums=('0ec79733770379dbd11ea9d76fd03d62d8aacca8e66730779f7caaa92f577ba7')