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

                                                   
          


                                  
                 




                                                                                       


                                    

                                             



                       


                                                                            
                                                                 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dri2proto
pkgver=2.3
pkgrel=0
pkgdesc="X11 DRI protocol"
url="http://xorg.freedesktop.org/"
arch="x86 x86_64"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.org/releases/individual/proto/$pkgname-$pkgver.tar.bz2"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure --prefix=/usr || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}
md5sums="3407b494d5e90d584c9af52aa8f9f028  dri2proto-2.3.tar.bz2"