diff options
Diffstat (limited to 'libre/linux-libre-firmware/PKGBUILD')
-rw-r--r-- | libre/linux-libre-firmware/PKGBUILD | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD index e0ec3fb91..fbd16f431 100644 --- a/libre/linux-libre-firmware/PKGBUILD +++ b/libre/linux-libre-firmware/PKGBUILD @@ -4,8 +4,8 @@ # Contributor: Luke Shumaker <lukeshu@sbcglobal.net> pkgname=linux-libre-firmware -pkgver=1.2 -pkgrel=2 +pkgver=1.2.1 +pkgrel=1 epoch=1 pkgdesc='Firmware files for Linux-libre' arch=('any') @@ -31,31 +31,26 @@ conflicts=('linux-firmware' 'ath9k-htc-firmware') replaces=(${conflicts[@]}) options=(!strip) -source=("${url}/${pkgname}-${pkgver}.tar.lz"{,.asc} '0001-remove-external-toolchains.patch' '0002-carl9170fw-gcc-8-fix.patch') -sha512sums=('2f70207ae7a98a71b74950a909e899c58617e46693a4b069cd16de1b2f0bb31c6abb07c0f4db88b5cecc3f3c50da56265da0b771c58b164981d628231f130387' +source=("$url/$pkgname-$pkgver.tar.lz"{,.asc} 'remove-external-toolchains.patch') +sha512sums=('dc4f2e931b4dde217f2e3430e7a0c1a5f42f0844087bf9a771c7e40dbdd8050205d7a80495bd130f87a02a823db7514241d68bfded19548132b3620d4c7e630a' 'SKIP' - 'cc3417dcf165442260b509facc391fcce9125befea26c22b0748715484ab2373c56e5fa6e306ff74c1f39baccf8f5a0aee067d444d5980796e9d2c6fa6179fe5' - 'f1326f1af1586b39ca738ff9c263c5ac1388996914cbab9898adac3430dba2b28fecc5495ab624b098c853cc9795b646d0ca631b696413db14d7f4a47b4a2374') + '19732ee8e8320a143fee462ae79ca4551672bebc425e71dffd0a8d01fb7a7a02c822966c57072becfff5da11e2a6abe4a0f6de93e9c218bba0b594421a541150') validpgpkeys=('F611A908FFA165C699584ED49D0DB31B545A3198') # Jason Self prepare() { - cd $srcdir/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver/src # do not download toolchains so we can build offline - patch -p1 -i ../0001-remove-external-toolchains.patch - - # fix building with GCC 8+ - patch -p1 -i ../0002-carl9170fw-gcc-8-fix.patch - + patch -p1 -i $srcdir/remove-external-toolchains.patch } build() { - cd "${srcdir}/${pkgname}-${pkgver}/src" + cd $srcdir/$pkgname-$pkgver/src make } package() { - cd "${srcdir}/${pkgname}-${pkgver}/src" + cd $srcdir/$pkgname-$pkgver/src install -dm755 $pkgdir/usr/lib/firmware make prefix=$pkgdir/usr/lib/firmware install |