updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / emgd-sys-tools / PKGBUILD
blobcb998a06c5b0063c1923d17a1111dcb49827eebe
1 # Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
3 pkgname=emgd-sys-tools
4 pkgver=0.1~2~11
5 _date=201110111236
6 _ubuflag=oneiric1
7 pkgrel=4
8 pkgdesc="Systemtools for Intel EMGD"
9 arch=('i686')
10 license=('custom')
11 url='https://code.launchpad.net/~gma500/+junk/emgd-sys-tools'
12 depends=('python2' 'dkms-emgd' 'xf86-video-emgd')
13 source=(https://launchpad.net/~gma500/+archive/emgd110/+files/${pkgname}_${pkgver}~${_date}~${_ubuflag}.tar.gz)
14 md5sums=('73420e9a461bb448a6e323a6a8365904')
16 build() {
17   cd ${srcdir}/recipe-${pkgver}~${_date}/src
18   # python2 fix
19   sed -i 's|python|python2|g' *.py
22 package() {
23   cd ${srcdir}/recipe-${pkgver}~${_date}/src
24   install -Dm775 emgd-sys-blkman.py ${pkgdir}/usr/bin/emgd-sys-blkman
25   install -Dm775 emgd-sys-fixpm.py ${pkgdir}/usr/bin/emgd-sys-fixpm
26   install -Dm775 emgd-sys-grubman.py ${pkgdir}/usr/bin/emgd-sys-grubman
27   install -Dm775 emgd-sys-modman.py ${pkgdir}/usr/bin/emgd-sys-modman
28   install -Dm775 emgd-sys-resman.py ${pkgdir}/usr/bin/emgd-sys-resman