aboutsummaryrefslogblamecommitdiffstats
path: root/main/xf86-video-ark/APKBUILD
blob: 32e0cd093fbeb218df1b4c349ab16fc0d8cc3187 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        

                                    
          
                
                          
        

                                                                      
 

                                                                                        
 








                                                                        
         
                       
                                             

                                             


           
                       
                                                  
                                                                  

                                                                            





                                                                                                                                                                          
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86-video-ark
pkgver=0.7.5
pkgrel=2
pkgdesc="X.Org driver for ark cards"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
depends=
makedepends="pkgconfig xorg-server-dev libxi-dev fontsproto randrproto
	videoproto renderproto"

source="http://xorg.freedesktop.org//releases/individual/driver/$pkgname-$pkgver.tar.bz2
	mibstore.patch"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}
build() {
	cd "$_builddir"
	export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/xorg/modules/drivers/*.la || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="2e9809b5ae3f01a56be0d6e5441da03c  xf86-video-ark-0.7.5.tar.bz2
d4625a8bf75d55959faebadcae02e3e4  mibstore.patch"
sha256sums="c690e046f34a393aac1c8d9616b4790e93cda60a460b00b9597d322175dbe51e  xf86-video-ark-0.7.5.tar.bz2
32130c11a9af2d125a8376c0fc5cc7a94ecec5b88f33005ec9cc54423feeffb9  mibstore.patch"
sha512sums="67c2b4e2109bf9d84a007c9679d35e7c0a4e4ddcdb7be9fa5070ce7e2f666e018d8421ddd4890cf3abb4eb37e060a10666c62a9efbb5369eb7cd8647ee18a644  xf86-video-ark-0.7.5.tar.bz2
f7ef3d7003e75ae6d27f4ec1100e6cb42546f3dd5871a2d92ad779909ebd1243976679f14e1a8443ba17bb3cd36fa755cdbda4be3627a49af0033513309ad6bb  mibstore.patch"