diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..13796c7cf5ff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Agorgianitis Loukas < agorglouk at gmail dot com > + +pkgname=rtl8723au_bt-dkms +_pkgname=${pkgname%-*} +pkgver=0.1 +pkgrel=1 +pkgdesc="Bluetooth driver for RTL8723AE and RTL8723AU" +arch=('any') +url="http://www.realtek.com.tw/" +license=('GPL') +depends=('dkms') +conflicts=("${_pkgname}") +makedepends=('git') +options=(!strip) +source=("$_pkgname::git+https://github.com/lwfinger/rtl8723au_bt.git" + "void_cast.patch") +sha256sums=('SKIP' 'SKIP') + +build() { + cd "${srcdir}/${_pkgname}/" + git checkout kernel + patch -p1 < "${srcdir}/void_cast.patch" + rm -fr .git* readme.txt +} + +package() { + instdir="$pkgdir/usr/src/$_pkgname-$pkgver" + install -dm755 "$instdir" + cp -r ${_pkgname}/* ${instdir}/ +} |