aboutsummaryrefslogblamecommitdiffstats
path: root/community/libxres/APKBUILD
blob: 530d1ad89e2b84cbe018514192046bf9b8663d83 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   

            

                                        
          
                
                                  
                                       
                       
                                                             
                                                                          
                                  

         



                                 

                                 


           
                                      

                                                                              
 
                                                                                                                                                                    
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxres
pkgver=1.2.1
pkgrel=0
pkgdesc="X11 Resource extension library"
url="http://xorg.freedesktop.org"
arch="all"
license="custom"
options="!check"  # No test suite.
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="xorgproto"
makedepends="$depends_dev libx11-dev libxext-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXres-$pkgver.tar.bz2"
builddir="$srcdir"/libXres-$pkgver

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -D -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

sha512sums="c17d28406e17e305dc4976f095e88059735f5bd8c600adf2e556523c9e0dd7fa01dcbf7a9d28a642e77e49a5b30f54bb9b2fc34bfbedce467ee2a020bba5cdf1  libXres-1.2.1.tar.bz2"