blob: 441a41c6857e95476f061d5f5446e9cfa07a9ac9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Muflone http://www.muflone.com/contacts/english/
pkgname=4kvideodownloader
pkgver=4.4.3.2265
pkgrel=1
pkgdesc="Quickly download videos from YouTube in high-quality."
arch=('i686' 'x86_64')
url="http://www.4kdownload.com/products/product-videodownloader"
license=('custom:eula')
depends=('qt5-script' 'portaudio' 'ffmpeg2.8')
source=("${pkgname}_${pkgver}_amd64.tar.bz2"::"https://dl.4kdownload.com/app/${pkgname}_${pkgver%.*}_amd64.tar.bz2"
"${pkgname}.desktop"
"${pkgname}.png")
sha256sums=('539960a298bc527227ef8d2a1cecd5ed71c7985f8949f2b851abe933bb923380'
'6ab39088bde330267b43f87878f6bd47a215c732e17d417a99fc23ac4c568952'
'56b851ef96aade0612f236b8763ccaf2def8acdd49f37bbefdd79e1d5f6e68be')
package() {
# 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"
}
|