The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
4kvideodownloader Version 4.7.2.2732...
By Guest on 28th May 2019 02:33:03 PM | Syntax: TEXT | Views: 27



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. # Maintainer: ArchNet
  2. # 4kvideodownloader Version 4.7.2.2732
  3. # PKGBUILD 4.7.2.2732
  4.  
  5. pkgname=4kvideodownloader
  6. pkgver=4.7.2.2732
  7. pkgrel=1
  8. pkgdesc="4K Video Downloader allows downloading videos, playlists, channels and subtitles from YouTube, Facebook, Vimeo and other video sites in high quality."
  9. arch=('x86_64')
  10. url="http://www.4kdownload.com/products/product-videodownloader"
  11. license=('custom:eula')
  12. depends=('qt5-script' 'qt5-declarative' 'portaudio' 'ffmpeg2.8')
  13. makedepends=('chrpath')
  14. source=("${pkgname}_${pkgver}_amd64.tar.bz2"::"https://dl.4kdownload.com/app/${pkgname}_${pkgver%.*}_amd64.tar.bz2"
  15.         "${pkgname}.desktop"
  16.         "${pkgname}.png")
  17. sha256sums=('b9d82e58625581163ae617e1c51e308d0a7882f8322978fc500131c85fd883c5'
  18.             '6ab39088bde330267b43f87878f6bd47a215c732e17d417a99fc23ac4c568952'
  19.             '56b851ef96aade0612f236b8763ccaf2def8acdd49f37bbefdd79e1d5f6e68be')
  20.  
  21. prepare() {
  22.   cd "${pkgname}"
  23.   # Remove insecure RPATH
  24.   chrpath --delete "${pkgname}-bin"
  25. }
  26.  
  27. package() {
  28.   # Install desktop file
  29.   install -m 755 -d "${pkgdir}/usr/share/applications"
  30.   install -m 755 -t "${pkgdir}/usr/share/applications" "${pkgname}.desktop"
  31.   # Install icon file
  32.   install -m 755 -d "${pkgdir}/usr/share/pixmaps"
  33.   install -m 644 -t "${pkgdir}/usr/share/pixmaps" "${pkgname}.png"
  34.   # Install files
  35.   cd "${pkgname}"
  36.   install -m 755 -d "${pkgdir}/usr/lib/${pkgname}"
  37.   install -m 755 -t "${pkgdir}/usr/lib/${pkgname}" "${pkgname}-bin"
  38.   install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/audio"
  39.   install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/audio" audio/*
  40.   install -m 755 -d "${pkgdir}/usr/lib/${pkgname}/translation"
  41.   install -m 755 -t "${pkgdir}/usr/lib/${pkgname}/translation" translation/*
  42.   # Install launcher file
  43.   install -m 755 -d "${pkgdir}/usr/bin"
  44.   ln -s "/usr/lib/${pkgname}/${pkgname}-bin" "${pkgdir}/usr/bin/${pkgname}"
  45.   # Install license file
  46.   install -m 755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
  47.   install -m 644 -t "${pkgdir}/usr/share/licenses/${pkgname}" "doc/eula"
  48. }