summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6b3ea2d6e3a0d090a1c0742809592ddd6e261608 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Balazs Vinarz <vinibali1 at gmail dot com>

pkgname=linux-firmware-minimal
pkgver=20100519
pkgrel=1
pkgdesc="Minimal amount of firmware files for Linux, mostly recommended for virtual systems."
arch=('any')
url="https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/"
license=('GPL2' 'GPL3' 'MIT' 'custom')
conflicts=('linux-firmware-git'
           'linux-firmware')
options=(!strip)
source=(http://th.archive.ubuntu.com/archlinux/other/linux-firmware/$pkgname-$pkgver.tar.xz)
sha256sums=('2c0d22e9ce469d8095c1c4921350ea6021088ce21b5a46139f4ed8c6003dad01')

build() {
  :
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  install -d -m755 "${pkgdir}/lib/firmware"
  cp -a * "${pkgdir}/lib/firmware/"
  install -d -m755 "${pkgdir}/usr/share/licenses/linux-firmware/"
  mv "${pkgdir}/lib/firmware"/LICEN* "${pkgdir}/usr/share/licenses/linux-firmware/"
}
# vim:set ts=2 sw=2 et: