#!/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=ipw2100-fw
pkgver=1.3
pkgrel=010
pkgdesc="Intel Centrino Drivers firmware for IPW2100"
arch=('any')
url="http://ipw2100.sourceforge.net/"
replaces=('ipw2100')
source=("https://sources.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tgz")

package() {
  cd "${srcdir}"

  # Install firmware
  for i in *.fw
  do
    install -D -m 644 $i "${pkgdir}/usr/lib/firmware/$i"
  done 
  # Install license
  install -D -m 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}

#---- license gpg-key sha256sums ----

license=('custom')

sha256sums=(e1107c455e48d324a616b47a622593bc8413dcce72026f72731c0b03dae3a7a2) #  ipw2100-fw-1.3.tgz
