blob: 36e1d1288583f0504c5c62d5d072e172fb4cad2c (
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
|
# Maintainer:
# Contributor: FabioLolix
# Contributor: Daniel Albers
_reponame=dvb-firmware
pkgname=libreelec-dvb-firmware-git
pkgver=1.4.2.r1.g0eaf5b3
pkgrel=1
epoch=1
pkgdesc="DVB firmware from LibreELEC project (git)"
arch=('any')
url="https://github.com/LibreELEC/${_reponame}"
license=('GPL3')
conflicts=('libreelec-dvb-firmware' 'openelec-dvb-firmware')
replaces=('openelec-dvb-firmware')
provides=('libreelec-dvb-firmware')
makedepends=('git' 'linux-firmware')
source=("git+https://github.com/LibreELEC/${_reponame}.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${_reponame}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/${_reponame}/firmware"
for _file in $(find -type f); do
if [[ ! -f /usr/lib/firmware/$_file ]]; then
install -Dm644 "$_file" "${pkgdir}/usr/lib/firmware/$_file"
fi
done
}
|