Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Maintainer: Martchus <martchus@gmx.net> | ||
|
||
# All my PKGBUILDs are managed at https://github.com/Martchus/PKGBUILDs where | ||
# you also find the URL of a binary repository. | ||
|
||
_reponame=dvb-firmware | ||
pkgname=openelec-dvb-firmware | ||
pkgver=0.0.51 | ||
pkgrel=1 | ||
pkgdesc="DVB firmware from OpenELEC project" | ||
arch=('any') | ||
url="https://github.com/OpenELEC/${_reponame}" | ||
license=('GPL3') | ||
conflicts=('openelec-dvb-firmware') | ||
provides=('openelec-dvb-firmware') | ||
makedepends=('linux-firmware') | ||
source=("https://github.com/OpenELEC/dvb-firmware/archive/${pkgver}.zip") | ||
sha256sums=('bf4f354d1e428ce72bb845895510086fecccef90a84b5e68660cdeb290f53cf5') | ||
|
||
# linux-firmware is required to make this package to avoid conflicts | ||
# with files already provided by linux-firmware | ||
|
||
package() { | ||
cd "${srcdir}/${_reponame}-${pkgver}/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 | ||
} |