blob: 7a132a8f625a02865f869a0e799bd8d9373fe703 (
plain) (
tree)
|
|
# Contributor: Ariadne Conill <ariadne@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"
|