blob: 1dbad383b392f663ab1fa2b348597f6ea5d2c6fc (
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
40
41
42
43
44
45
46
47
48
|
# Maintainer: Paragoumba <aur@paragoumba.fr>
# Contributor: Mario Ray MahardhikZza <leledumbo_cool@yahoo.co.id>
# Contributor: James Cuzella <james.cuzella@lyraphase.com>
_package=net.downloadhelper.coapp
pkgname=vdhcoapp-bin
pkgver=2.0.3
pkgrel=2
pkgdesc="Companion application for Video DownloadHelper browser add-on, precompiled binary version"
provides=("vdhcoapp=${pkgver}")
conflicts=('vdhcoapp')
arch=('x86_64')
url="https://github.com/mi-g/vdhcoapp"
license=('GPL2')
depends=('ffmpeg' 'orc')
makedepends=()
options=('!strip') # IMPORTANT! DO NOT REMOVE THIS, OTHERWISE THE BINARY WILL BE BROKEN!
source=(https://github.com/aclap-dev/vdhcoapp/releases/download/v${pkgver}/vdhcoapp-${pkgver}-linux-x86_64.deb
vdhcoapp-install.hook
vdhcoapp-remove.hook
vdhcoapp-user-install.hook
vdhcoapp-user-remove.hook)
sha256sums=('bd288efbd562aa450b3b142b9ad1221b83a4ea510eb840ef3f5a3c499bbb6471'
'a2b56e6ae3f7f8933e20762baa90e69f63f0802b2e6d213b51e0bc68843e5d27'
'3287859986d67e15e269965676bf9c75d1e853ea0ec97695811072fb8f10a7a8'
'a74a57aac6b2e76ded9524599d3047486f9f2d8f820c5114ad41209c8117ab35'
'fddf971ed2d6d976cd6ce34f9f04c9c2d18c03112eccda44ccf887cda0344b7c')
prepare() {
rm control.tar.xz
rm debian-binary
mkdir -p "${srcdir}/${pkgname}"
tar xf data.tar.xz -C "${pkgname}"
}
package() {
cp -Rfp "${srcdir}/${pkgname}/"* "${pkgdir}/"
mkdir -p "${pkgdir}/usr/bin"
mkdir -p "${pkgdir}/usr/share/libalpm/hooks"
mkdir -p "${pkgdir}/opt/${_package}/converter/build/linux/64/"
ln -s /usr/bin/ffmpeg "${pkgdir}/opt/${_package}/converter/build/linux/64/ffmpeg"
ln -s /usr/bin/ffprobe "${pkgdir}/opt/${_package}/converter/build/linux/64/ffprobe"
ln -s /usr/bin/ffplay "${pkgdir}/opt/${_package}/converter/build/linux/64/ffplay"
ln -s "/opt/vdhcoapp/vdhcoapp" "${pkgdir}/usr/bin/vdhcoapp"
# Install Hooks
cp -fpL "${srcdir}/"*.hook "${pkgdir}/usr/share/libalpm/hooks/"
}
|