aboutsummaryrefslogblamecommitdiffstats
path: root/main/xf86vidmodeproto/APKBUILD
blob: b6dd579103dd7d85e4c154052ac531aab2f1ae15 (plain) (tree)
1
2
3
4
5
6
7

                                                   
            
        

                                                
             




                                                                                        






                                     
         
                       




                                 
                        


           
                       

                                                  
                                                                                                                                                                             
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xf86vidmodeproto
pkgver=2.3.1
pkgrel=2
pkgdesc="X11 Video Mode extension wire protocol"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org//releases/individual/proto/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}
sha512sums="d68784339271226a71360253b5f35d9cbec483801b4df3684bd070b1208a478edf9e5f55f1ff8ff186c81c56fb6e105e8cebad43d650cdbe605eed10bb7c7c50  xf86vidmodeproto-2.3.1.tar.bz2"