summaryrefslogtreecommitdiffstats
path: root/linux-firmware/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'linux-firmware/Pkgfile')
-rwxr-xr-xlinux-firmware/Pkgfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/linux-firmware/Pkgfile b/linux-firmware/Pkgfile
new file mode 100755
index 000000000..3edbe50ae
--- /dev/null
+++ b/linux-firmware/Pkgfile
@@ -0,0 +1,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
+}