summaryrefslogblamecommitdiff
path: root/user/libxdg-basedir/APKBUILD
blob: e66a37c91a4d21c1556369d1db588536610af37a (plain) (tree)
1
2
3
4
5
6
7
8


                                                         
                      
            

                                                
                  


             
                                       
                          

                                                                                           
 
           
                       
                    

 
         
                     







                                   



                  


                                      
                                                                                                                                                                          
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=libxdg-basedir
pkgver=1.2.3
pkgrel=0
pkgdesc="library for XDG base dir specification"
url=" "  # No URL.
arch="all"
license="MIT"
depends=""
makedepends="autoconf automake libtool"
subpackages="$pkgname-dev"
source="https://github.com/devnev/libxdg-basedir/archive/refs/tags/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/libxdg-basedir-$pkgname-$pkgver"

prepare() {
	default_prepare
	./autogen.sh
}

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

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e672da0d9cd3c27c9113f6053b79127e615e5d84bde81305242f506e930869d8492304aac26a0296528d5a32530e4a743acecb6a25f58372ac597af284429f7c  libxdg-basedir-1.2.3.tar.gz"