jobcore/ipw2200-fw/PKGBUILD
2022-03-20 14:19:37 +02:00

30 lines
965 B
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=ipw2200-fw
pkgver=3.1
pkgrel=08
pkgdesc="Firmware for the Intel PRO/Wireless 2200BG"
arch=('any')
url='http://ipw2200.sourceforge.net/'
source=("https://sources.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tgz")
replaces=('ipw2200')
package() {
cd "${srcdir}/ipw2200-fw-${pkgver}"
# Install firmware
for i in ipw*.fw; do
install -D -m 644 $i "${pkgdir}/usr/lib/firmware/$i"
done
# Install license
install -D -m 644 LICENSE.ipw2200-fw "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#---- license gpg-key sha256sums ----
license=('custom')
sha256sums=(c6818c11c18cc030d55ff83f64b2bad8feef485e7742f84f94a61d811a6258bd) # ipw2200-fw-3.1.tgz