1 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
7 _ubustring=0ubuntu1~ppa2
9 pkgdesc="Intel EMGD driver in DKMS format."
11 url="http://edc.intel.com/Software/Downloads/EMGD/"
13 depends=('dkms' 'xf86-video-emgd' 'xorg-server=1.10.4')
14 makedepends=('make' 'bash')
16 install="dkms-emgd.install"
18 source=(https://launchpad.net/~gma500/+archive/emgd110/+files/"${_modpackage}"_"${pkgver}"-"${_ubustring}".tar.gz
21 md5sums=('210b6afe2cda59b928a206bb474a6a29'
22 'df8d97ca748c17c97ab52ecbc2b122f8'
23 '42a84d3197c2ae70ab6b90640ad4b5dc')
27 warning "This Driver NEED using Xorg 1.10."
30 Please, edit your /etc/pacman.conf and add:
33 Server = http://catalyst.apocalypsus.net/repo/xorg110/$arch
35 Downgrade all your xorg with packages in Xorg110 repo
36 (if need older dependencies, try "http://arm.konnichi.com/extra/os/i686/"
39 and add to "IgnoreGroup" secction:
43 to prevent possible upgrade
45 read -p "If you apply this, please continue, if not, cancel this installation [y/N] " -n 1
46 if [[ ! $REPLY =~ ^[Yy]$ ]]; then
54 install -d "${pkgdir}"/usr/src/"${_modname}"-"${pkgver}"/
55 cp -R "${srcdir}"/emgd-dkms/* "${pkgdir}"/usr/src/"${_modname}"-"${pkgver}"/
56 install -Dm644 "${srcdir}"/dkms.conf "${pkgdir}"/usr/src/"${_modname}"-"${pkgver}"/
57 install -Dm755 "${srcdir}"/emgd-dkms/COPYING "${pkgdir}"/usr/share/licenses/"${pkgname}"/COPYING
58 rm -fr "${pkgdir}"/usr/src/"${_modname}"-"${pkgver}"/debian