# Contributor: William Pitcock <nenolod@dereferenced.org> # Contributor: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Dan Theisen <djt@hxx.in> pkgname=libxdg-basedir pkgver=1.2.2 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/davmac314/libxdg-basedir/releases/download/v$pkgver/$pkgname-$pkgver.tar.xz" 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="5817aea613be592d3d392401702ecd40ec949ee170365d720085919d773dc998daff65bde53d36429453dfe3944ff8666729553381c7b9ce410b009e7a5d5af5 libxdg-basedir-1.2.2.tar.xz"