diff options
author | felics | 2018-07-05 17:48:17 +0200 |
---|---|---|
committer | felics | 2018-07-05 17:48:17 +0200 |
commit | 7911ef0497fabcea19bfee607d6378dbf47c1296 (patch) | |
tree | c313ee8995a1ef2f6279be9d4ca78bf06653794b | |
download | aur-7911ef0497fabcea19bfee607d6378dbf47c1296.tar.gz |
Initial Commit
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c522c90cf68d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = gpd-pocket-support-bcm4356-git + pkgdesc = Provides an additionally needed firmware file brcmfmac4356-pcie.txt for the Broadcom BCM4356 WiFi in the GPD Pocket. (If you have 'gpd-pocket-support' installed you already have this.) + pkgver = 0.2.5 + pkgrel = 1 + url = https://github.com/joshskidmore/gpd-pocket-arch-packages/tree/master/gpd-pocket-support + arch = any + license = MIT + provides = gpd-pocket-support-bcm4356=0.2.5 + conflicts = gpd-pocket-support + conflicts = gpd-pocket-support-bcm4356 + replaces = gpd-pocket-support-bcm4356<0.2.5 + source = gpd-pocket-arch-packages::git+git://github.com/joshskidmore/gpd-pocket-arch-packages + sha256sums = SKIP + +pkgname = gpd-pocket-support-bcm4356-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d4cec74c3527 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: dreieck +# Contributor: @joshskidmore <josh@josh.sc> +# Contributor: @sigboe <sig.boe@gmail.com> +# Contributor: @chrisaw <home@chrisaw.com> +# Contributor: @njkli <voobscout@archlinux.info> +# Original Source: https://github.com/njkli/gpd-pocket/tree/master/gpd-pocket-support + +_pkgname=gpd-pocket-support-bcm4356 +pkgname="${_pkgname}-git" +pkgver=0.2.5 +pkgrel=1 +pkgdesc="Provides an additionally needed firmware file brcmfmac4356-pcie.txt for the Broadcom BCM4356 WiFi in the GPD Pocket. (If you have 'gpd-pocket-support' installed you already have this.)" +arch=('any') +url='https://github.com/joshskidmore/gpd-pocket-arch-packages/tree/master/gpd-pocket-support' +license=('MIT') +depends=() +optdepends=() +provides=( + "${_pkgname}=${pkgver}" +) +replaces=( + "${_pkgname}<${pkgver}" +) +conflicts=( + 'gpd-pocket-support' + "${_pkgname}" +) +source=( + 'gpd-pocket-arch-packages::git+git://github.com/joshskidmore/gpd-pocket-arch-packages' +) +sha256sums=( + 'SKIP' +) + +pkgver() { + cd "${srcdir}/gpd-pocket-arch-packages/gpd-pocket-support" + grep -E '[[:space:]]*pkgver=' PKGBUILD | sed 's|#.*$||' | sed -E 's|[[:space:]]*$||' | awk -F '=' '{print $2}' +} + +package() { + cd "${srcdir}/gpd-pocket-arch-packages/gpd-pocket-support" + install -v -D -m0644 "brcmfmac4356-pcie.txt" "${pkgdir}/usr/lib/firmware/brcm/brcmfmac4356-pcie.txt" + install -v -D -m +} |