summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuflone2015-10-25 16:40:34 +0100
committerMuflone2015-10-25 16:40:34 +0100
commit19f229f4fde161a45251fa2783bbf89d4e8917a5 (patch)
treeaad58c936bc79d6aee2e400a11c7c249f167ada5
parent18b3c8b5e82aab3b05da42d97deec900b302a9eb (diff)
downloadaur-19f229f4fde161a45251fa2783bbf89d4e8917a5.tar.gz
Updated package 4kyoutubetomp3 2.10.8.1505-1
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD26
2 files changed, 20 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 9e5012903ed..f3e5f58b76e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = 4kyoutubetomp3
pkgdesc = Extract audio from YouTube, Vimeo, Facebook and other online video hosting services.
- pkgver = 2.10.7.1495
+ pkgver = 2.10.8.1505
pkgrel = 1
url = http://www.4kdownload.com/products/product-youtubetomp3
arch = i686
@@ -15,9 +15,9 @@ pkgbase = 4kyoutubetomp3
sha256sums = 386dfa4085efcd9403c4387c7be4dd0f9762c726555b5ebd0126dcd225bcf828
sha256sums = b25f830bb1fe559ea9f0b35cc9eb8ab75e2e40d09b8755f937451f5ddeeec2fd
source_i686 = http://downloads.4kdownload.com/app/4kyoutubetomp3_2.10_i386.tar.bz2
- sha256sums_i686 = f1e8c58cd58b98ba5af9712e52207a0208993b533a50cce4e06e2001e35cbc5a
+ sha256sums_i686 = 76e65181fb0d0260c41eabb4ed4a579e588c7fce1c76be49061b3eaed4c5dfbb
source_x86_64 = http://downloads.4kdownload.com/app/4kyoutubetomp3_2.10_amd64.tar.bz2
- sha256sums_x86_64 = 1af2ffc4842e195333c375f31be1ec992d1953bb6abcc036fb07c3b8ad8c6636
+ sha256sums_x86_64 = 162f8070fd62188bf32724d98056ac77c5cb5bb34c347ea72ba90191717ea4b9
pkgname = 4kyoutubetomp3
diff --git a/PKGBUILD b/PKGBUILD
index db69963644a..d0620d85aed 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Muflone http://www.muflone.com/contacts/english/
pkgname=4kyoutubetomp3
-pkgver=2.10.7.1495
+pkgver=2.10.8.1505
pkgrel=1
pkgdesc="Extract audio from YouTube, Vimeo, Facebook and other online video hosting services."
arch=('i686' 'x86_64')
@@ -14,20 +14,28 @@ source_i686=("http://downloads.4kdownload.com/app/${pkgname}_${pkgver%.*.*}_i386
source_x86_64=("http://downloads.4kdownload.com/app/${pkgname}_${pkgver%.*.*}_amd64.tar.bz2")
sha256sums=('386dfa4085efcd9403c4387c7be4dd0f9762c726555b5ebd0126dcd225bcf828'
'b25f830bb1fe559ea9f0b35cc9eb8ab75e2e40d09b8755f937451f5ddeeec2fd')
-sha256sums_i686=('f1e8c58cd58b98ba5af9712e52207a0208993b533a50cce4e06e2001e35cbc5a')
-sha256sums_x86_64=('1af2ffc4842e195333c375f31be1ec992d1953bb6abcc036fb07c3b8ad8c6636')
+sha256sums_i686=('76e65181fb0d0260c41eabb4ed4a579e588c7fce1c76be49061b3eaed4c5dfbb')
+sha256sums_x86_64=('162f8070fd62188bf32724d98056ac77c5cb5bb34c347ea72ba90191717ea4b9')
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"
}