summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
Diffstat (limited to 'libre')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD24
1 files changed, 4 insertions, 20 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 4b46592d0..2f87714aa 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -2,14 +2,15 @@
# Contributor: Márcio Silva <coadde@lavabit.com>
pkgname=linux-libre-firmware
-pkgver=3.9
-pkgrel=2
+_pkgver=3.9
+pkgver=$(LC_ALL=C date -u +%Y%m%d)
+pkgrel=1
pkgdesc='Free firmware files for Linux-libre'
arch=('any')
url=('http://linux-libre.fsfla.org/'
'http://wireless.kernel.org/en/users/Drivers/ath9k_htc')
license=('GPL2' 'BSD')
-makedepends=('git' 'wget')
+makedepends=('git' 'xtensa-unknown-elf-gcc')
provides=('linux-firmware'
'kernel26-firmware=2.6.34.99')
conflicts=('linux-firmware'
@@ -42,23 +43,6 @@ source=("http://linux-libre.fsfla.org/pub/linux-libre/releases/$pkgver-gnu/linux
md5sums=('120df29f88622dabf7015a22c7cc8e25'
'SKIP')
-prepare() {
-
- cd $srcdir/open-ath9k-htc-firmware
-
- # disable build error
- sed -i 's|GMP,|GMP,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|MPFR,|MPFR,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|MPC,|MPC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|BINUTILS,|BINUTILS,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- s|GCC,|GCC,\n\t\t--disable-werror, \\\n\t\t--disable-fatal-warnings,|;
- ' Makefile
-
- # prepare toolchain to compile ath9k-htc firmware
- make toolchain
-
-}
-
build() {
cd $srcdir/open-ath9k-htc-firmware