2015-06-16 03:00:32 +00:00
|
|
|
# Maintainer of AUR mt7601-git package: Cyker Way < cykerway at gmail dot com >
|
|
|
|
|
|
|
|
_gitname=mt7601
|
2013-08-17 20:54:27 +00:00
|
|
|
pkgname=dkms-mt7601
|
2015-06-16 03:00:32 +00:00
|
|
|
pkgver=2015.06.08
|
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="Linux driver for MediaTek MT7601U chip with patch for stability and performance"
|
2015-02-14 15:51:39 +00:00
|
|
|
arch=('any')
|
2015-06-16 03:00:32 +00:00
|
|
|
url="https://github.com/porjo/$_gitname"
|
2013-08-17 20:54:27 +00:00
|
|
|
license=('GPL')
|
2015-06-16 03:00:32 +00:00
|
|
|
install=dkms-mt7601.install
|
|
|
|
depends=('linux>3.19' 'dkms' 'linux-headers>3.19')
|
|
|
|
makedepends=('git')
|
2013-08-17 20:54:27 +00:00
|
|
|
options=(!strip)
|
2015-06-16 03:00:32 +00:00
|
|
|
source=("git+${url}.git" "dkms.conf")
|
2013-08-17 20:54:27 +00:00
|
|
|
|
2015-06-16 03:00:32 +00:00
|
|
|
md5sums=('SKIP' 'fee0be459a26a0c9f4a8afcd7ec0a2a6')
|
2013-08-17 20:54:27 +00:00
|
|
|
|
2015-06-16 03:00:32 +00:00
|
|
|
pkgver() {
|
|
|
|
cd "$srcdir/$_gitname"
|
|
|
|
git log -1 --format="%cd" --date=short | sed 's|-|.|g'
|
|
|
|
}
|
2013-08-17 20:54:27 +00:00
|
|
|
|
2015-06-16 03:00:32 +00:00
|
|
|
package() {
|
|
|
|
cp dkms.conf "$srcdir/$_gitname/src"
|
|
|
|
cd "$srcdir/$_gitname/src"
|
|
|
|
mkdir -p "$pkgdir/usr/src/mt7601-$pkgver"
|
|
|
|
cp -r . "$pkgdir/usr/src/mt7601-$pkgver"
|
|
|
|
install -Dm644 RT2870STA.dat "$pkgdir/etc/Wireless/RT2870STA/RT2870STA.dat"
|
2013-08-17 20:54:27 +00:00
|
|
|
}
|