summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-03 20:25:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-03 20:25:38 -0300
commitaddf0caba72d862bf5b9f7f02cb2c1663c6ae7c5 (patch)
tree1eb9d24c0bc9f46b0db31a4c49b32906488010ec /libre/linux-libre-firmware
parentf23143833b78f880e6184c7f0eb25ba969b7945a (diff)
linux-libre-firmware: fix pkgver due that it is from 2 source codes
Diffstat (limited to 'libre/linux-libre-firmware')
-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