From addf0caba72d862bf5b9f7f02cb2c1663c6ae7c5 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Wed, 3 Jul 2013 20:25:38 -0300 Subject: linux-libre-firmware: fix pkgver due that it is from 2 source codes --- libre/linux-libre-firmware/PKGBUILD | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) (limited to 'libre/linux-libre-firmware') 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 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 -- cgit v1.2.3