summaryrefslogtreecommitdiff
path: root/libre/linux-libre-firmware/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-09 15:02:26 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2012-10-09 15:02:26 -0200
commitfd1e1cfff01ce429f304a6999c69a080c82c75a8 (patch)
tree3ef1151712cd691be99544221d8e2b9654584d94 /libre/linux-libre-firmware/PKGBUILD
parent8add240e5264074d3c3db2fad909be3235df4d15 (diff)
downloadabslibre-fd1e1cfff01ce429f304a6999c69a080c82c75a8.tar.gz
abslibre-fd1e1cfff01ce429f304a6999c69a080c82c75a8.tar.bz2
abslibre-fd1e1cfff01ce429f304a6999c69a080c82c75a8.zip
linux-libre-firmware-3.1-1: fixing issues and adding patch
Diffstat (limited to 'libre/linux-libre-firmware/PKGBUILD')
-rw-r--r--libre/linux-libre-firmware/PKGBUILD20
1 files changed, 12 insertions, 8 deletions
diff --git a/libre/linux-libre-firmware/PKGBUILD b/libre/linux-libre-firmware/PKGBUILD
index 4e622fc6c..67063054f 100644
--- a/libre/linux-libre-firmware/PKGBUILD
+++ b/libre/linux-libre-firmware/PKGBUILD
@@ -35,15 +35,19 @@ replaces=('linux-firmware'
'rt2870usb-fw'
'rt2x00-rt61-fw'
'rt2x00-rt71w-fw')
-source=(http://ftp.debian.org/debian/pool/main/f/firmware-free/firmware-free_$pkgver.tar.gz)
-md5sums=('8f111229d121f447a4b6ea58cb897e00')
+source=("http://ftp.debian.org/debian/pool/main/f/firmware-free/firmware-free_$pkgver.tar.gz"
+ 'parabola-LICENSE.patch')
+md5sums=('8f111229d121f447a4b6ea58cb897e00'
+ '3aaa2d5530c3c9518ae02978204a83ff')
package() {
- rm -r {debian,defines}
- cd $srcdir/firmware-free/linux-free
+ cd "$srcdir/firmware-free"
+ patch -Np1 -i "$srcdir/parabola-LICENSE.patch"
+ rm -r "$srcdir/firmware-free/"{debian,defines}
+ cd "$srcdir/firmware-free/linux-free"
rm defines
- install -d $pkgdir/usr/share/licenses/$pkgname
- mv LICENSE $pkgdir/usr/share/licenses/$pkgname/WHENCE
- install -d $pkgdir/usr/lib/firmware
- mv * $pkgdir/usr/lib/firmware
+ install -d -m755 "$pkgdir/usr/lib/firmware"
+ cp -a * "$pkgdir/usr/lib/firmware"
+ install -d -m755 "$pkgdir/usr/share/licenses/$pkgname"
+ mv "${pkgdir}/usr/lib/firmware/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/WHENCE"
}