summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 17 insertions, 9 deletions
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"
}