summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d989fb4592dd9506afa1385f57f24f3a9568ed02 (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
# Maintainer: jzbor <zborof@posteo.net>
#
# Manjaro Maintainers:
# Based on a PKGBUILD from:
# Original PKGBUILD By: Bart De Vries <devriesb at gmail dot com>
# Contributor: Furkan Kardame <furkan@fkardame.com>
# Maintainer: Henning Thiemann <hthiemann@hthiemann.tech>

pkgname=chromium-docker
_pkgname=docker-chromium-armhf
pkgdesc='Chromium Docker Image builder with widevine'
pkgver=78.0.3904.97
_pkgver=52cc703
pkgrel=4
arch=('aarch64')
url='https://github.com/HenningThiemann/docker-chromium-armhf'
license=('custom')
depends=('gcc-libs' 'glib2' 'glibc' 'nspr' 'nss' 'xorg-xhost' 'docker' 'git' 'p7zip' 'paprefs'
    'inetutils' 'vim')
makedepends=('p7zip')
options=()
install=$pkgname.install
source=("git+$url#commit=$_pkgver"
        "chrome-eula_text.html::https://www.google.com/intl/en/chrome/privacy/eula_text.html"
        "chromium.png"
        "Chromium-Armv7.desktop")
sha256sums=('SKIP'
            'SKIP'
            '5c1d420c17b308987fda5fe731fc42b5bee3b9bd591aae571fd1cfc14eeb293b'
            '8ab59fc6c58324fcf33bf315c0b675a09ac31354ad99d24ac9cf54b92bb23644')

package() {
    mkdir -vp "${pkgdir}"/usr/share/chromium-docker/
    mkdir -vp "${pkgdir}"/usr/share/applications/
    mkdir -vp "${pkgdir}"/usr/bin/
#cp -r "${_docker_image}-${_commit}"/* -t "${pkgdir}/usr/share/chromium-docker"
#install -Dm644 ${_libwidevine} -t "$pkgdir/usr/lib/chromium/"
    cp -rv "${_pkgname}" "${pkgdir}/usr/share/chromium-docker/"
    mv -v "${pkgdir}/usr/share/chromium-docker/${_pkgname}" "${pkgdir}/usr/share/chromium-docker/git"
    install -Dm755 "${_pkgname}/chromium-armhf" "$pkgdir/usr/bin/"
    install -Dm644 ../chrome-eula_text.html "$pkgdir/usr/share/licenses/$pkgname/eula_text.html"
    install -Dm644 ../chrome-eula_text.html chromium.png "$pkgdir/usr/share/chromium-docker/"
    install -Dm644 Chromium-Armv7.desktop "$pkgdir/usr/share/applications/"
}