mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/libx11: modernize
This commit is contained in:
parent
27cf05f3f0
commit
96b4ffd87f
@ -10,17 +10,15 @@ subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
|
||||
depends_dev="libxcb-dev xtrans"
|
||||
makedepends="$depends_dev xorgproto util-macros xmlto"
|
||||
source="https://www.x.org/releases/individual/lib/libX11-$pkgver.tar.bz2"
|
||||
|
||||
builddir="$srcdir"/libX11-$pkgver
|
||||
|
||||
# secfixes:
|
||||
# 1.6.6-r0:
|
||||
# - CVE-2018-14598
|
||||
# - CVE-2018-14599
|
||||
# - CVE-2018-14600
|
||||
# - CVE-2018-14598
|
||||
# - CVE-2018-14599
|
||||
# - CVE-2018-14600
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
@ -33,12 +31,10 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user