1 # Maintainer: trya <tryagainprod@gmail.com>
3 pkgname=intel-gen4asm-git
6 pkgdesc="A program to compile an assembly language for the Intel 965 Express Chipset"
8 url="http://cgit.freedesktop.org/xorg/app/intel-gen4asm"
11 provides=('intel-gen4asm=1.2')
15 _gitroot="git://anongit.freedesktop.org/xorg/app/intel-gen4asm"
16 _gitname="intel-gen4asm"
20 msg "Connecting to GIT server...."
22 if [ -d $_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
26 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout"
30 msg "Starting make..."
33 rm -rf $_gitname-build
34 cp -r $_gitname $_gitname-build
38 ./configure --prefix=/usr
43 cd "$srcdir/$_gitname-build"
44 make DESTDIR="$pkgdir" install
45 install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"