summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2015-10-25 17:39:09 +0100
committerMuflone2015-10-25 17:39:09 +0100
commitfab5d3707ca0e29433ca60f6b7c5213e4471e3bf (patch)
tree6e6d9811e7aba5a3a4be406552d559e2a1df03cd
parent29e3b5a8a651878236c6177efb2ef6924fd66e94 (diff)
downloadaur-fab5d3707ca0e29433ca60f6b7c5213e4471e3bf.tar.gz
Updated package 4kvideotomp3 2.2.1.810-2
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD28
2 files changed, 22 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 479bdf7138d..09973d4f653 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,12 @@
pkgbase = 4kvideotomp3
pkgdesc = Extract audio in high-quality MP3 from any video.
pkgver = 2.2.1.810
- pkgrel = 1
+ pkgrel = 2
url = http://www.4kdownload.com/products/product-videotomp3
arch = i686
arch = x86_64
license = custom:eula
+ depends = qt5-script
depends = qt5-quickcontrols
depends = portaudio
depends = ffmpeg-compat
@@ -15,9 +16,9 @@ pkgbase = 4kvideotomp3
sha256sums = a53e776426f30fd1d35b5d78df95f3608f25a8637a7c5f0c731ff538226c2185
sha256sums = 3aa5efcf8111c63fde7397f491d2b85ff47d50fd531f7792842d94016b814a4c
source_i686 = http://downloads.4kdownload.com/app/4kvideotomp3_2.2_i386.tar.bz2
- sha256sums_i686 = 2a1a7df4bc904bffc17641af20b9c1fdfc8844923c3b2504df351471418a5e5e
+ sha256sums_i686 = 930827c6fb48aa32f4adaea00cac66a478548e2912dba5c26baa7d7675b90c97
source_x86_64 = http://downloads.4kdownload.com/app/4kvideotomp3_2.2_amd64.tar.bz2
- sha256sums_x86_64 = 9d5161785314e87431e4066f082749772ec414bf36f21652f9009475a48739c1
+ sha256sums_x86_64 = f8a8e998b362e4568c45cd0c4d26465f6948c16f88a45c4b7cba17c8e5eb4c2e
pkgname = 4kvideotomp3
diff --git a/PKGBUILD b/PKGBUILD
index 72d01112c49..ee4a8d80104 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,32 +2,40 @@
pkgname=4kvideotomp3
pkgver=2.2.1.810
-pkgrel=1
+pkgrel=2
pkgdesc="Extract audio in high-quality MP3 from any video."
arch=('i686' 'x86_64')
url="http://www.4kdownload.com/products/product-videotomp3"
license=('custom:eula')
-depends=('qt5-quickcontrols' 'portaudio' 'ffmpeg-compat' 'ffmpeg-compat-55')
+depends=('qt5-script' 'qt5-quickcontrols' 'portaudio' 'ffmpeg-compat' 'ffmpeg-compat-55')
source=("${pkgname}.desktop"
"${pkgname}.png")
source_i686=("http://downloads.4kdownload.com/app/${pkgname}_${pkgver%.*.*}_i386.tar.bz2")
source_x86_64=("http://downloads.4kdownload.com/app/${pkgname}_${pkgver%.*.*}_amd64.tar.bz2")
sha256sums=('a53e776426f30fd1d35b5d78df95f3608f25a8637a7c5f0c731ff538226c2185'
'3aa5efcf8111c63fde7397f491d2b85ff47d50fd531f7792842d94016b814a4c')
-sha256sums_i686=('2a1a7df4bc904bffc17641af20b9c1fdfc8844923c3b2504df351471418a5e5e')
-sha256sums_x86_64=('9d5161785314e87431e4066f082749772ec414bf36f21652f9009475a48739c1')
+sha256sums_i686=('930827c6fb48aa32f4adaea00cac66a478548e2912dba5c26baa7d7675b90c97')
+sha256sums_x86_64=('f8a8e998b362e4568c45cd0c4d26465f6948c16f88a45c4b7cba17c8e5eb4c2e')
package() {
- # Install executable file
- install -m 755 -d "${pkgdir}/usr/bin"
- install -m 755 "${pkgname}/${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"
- # Install license file
- install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
- install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "${pkgname}/doc/eula"
# Install desktop file
install -m 755 -d "${pkgdir}/usr/share/applications"
install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
# Install icon file
install -m 755 -d "${pkgdir}/usr/share/pixmaps"
install -m 644 -t "${pkgdir}/usr/share/pixmaps" "${pkgname}.png"
+ # Install files
+ cd "${pkgname}"
+ install -m 755 -d "${pkgdir}/usr/lib/${pkgname}"
+ install -m 755 -t "${pkgdir}/usr/lib/${pkgname}" "${pkgname}-bin"
+ install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/audio"
+ install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/audio" audio/*
+ install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/translation"
+ install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/translation" translation/*
+ # Install launcher file
+ install -m 755 -d "${pkgdir}/usr/bin"
+ ln -s "/usr/lib/${pkgname}/${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"
+ # Install license file
+ install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "doc/eula"
}