summaryrefslogtreecommitdiffstats
path: root/linux-firmware/Pkgfile
blob: 3edbe50aeca37b121f81895ba6e3d82e739e0de5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Description: Blobs firmware pour le noyau Linux.
# URL: http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
# Maintainer: http://git.kernel.org/?p=linux/kernel/git/firmware/linux-firmware.git
# Packager: piernov <piernov@piernov.org>
# Depends on: git

name=linux-firmware
version=git
release=1
source=()

build() {
	mkdir -p $PKG/lib
	if [ -d $PKGMK_SOURCE_DIR/$name/.git ]; then
		cd $PKGMK_SOURCE_DIR/$name
		git pull
	else
		cd $PKGMK_SOURCE_DIR
		git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
	fi
	cp -a $PKGMK_SOURCE_DIR/$name $PKG/lib/firmware
	rm -rf $PKG/lib/firmware/.git
}