main/libpthread-stubs: upgrade to 0.4

This commit is contained in:
J0WI 2022-04-13 23:09:05 +02:00 committed by alice
parent 56af4fa770
commit 8ee5f4da58

View File

@ -1,24 +1,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libpthread-stubs
pkgver=0.3
pkgrel=5
pkgver=0.4
pkgrel=0
pkgdesc="Pthread functions stubs for platforms missing them"
url="https://cgit.freedesktop.org/xcb/pthread-stubs"
arch="all"
license="X11"
options="!dbg"
source="https://xcb.freedesktop.org/dist/$pkgname-$pkgver.tar.bz2"
options="!check !dbg" # no tests
source="https://xcb.freedesktop.org/dist/libpthread-stubs-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
update_config_sub
}
#prepare() {
# default_prepare
#
# cd "$builddir"
# update_config_sub
#}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@ -27,13 +26,13 @@ build() {
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make -j1 DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install
}
sha512sums="c7cf63fa82ce9e8c37c6dc3b8cc30f8883655f95683c4466c54b617b086dd26a43bfa36363e47dc5730af6d59ac70443d211eb01b07d276edd144030a3580b15 libpthread-stubs-0.3.tar.bz2"
sha512sums="
0fec563f3833b84311b32cb13a4fd9832aeb0204c65b1541bf453d5d35693b2267c3cee656e00a4b8533b07a8f6320ca5c3672dcf8ab047cdac8628154c08954 libpthread-stubs-0.4.tar.bz2
"