aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-09-09 05:18:15 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-09-09 05:18:26 -0300
commit419bdfe50a7ba144d79978eeb4fea0597f3f1cc9 (patch)
treee08f9815b9bd825418c1fc84c89ffaabf0f54f0b
parent24e960791e3e6c28efc0a4b7204e679a7d5e08a3 (diff)
downloadaports-419bdfe50a7ba144d79978eeb4fea0597f3f1cc9.tar.gz
aports-419bdfe50a7ba144d79978eeb4fea0597f3f1cc9.tar.bz2
aports-419bdfe50a7ba144d79978eeb4fea0597f3f1cc9.tar.xz
main/libxrandr: disable static
-rw-r--r--main/libxrandr/APKBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/main/libxrandr/APKBUILD b/main/libxrandr/APKBUILD
index de64a70fae..bac9b17d24 100644
--- a/main/libxrandr/APKBUILD
+++ b/main/libxrandr/APKBUILD
@@ -1,34 +1,32 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxrandr
pkgver=1.5.2
-pkgrel=0
+pkgrel=1
pkgdesc="X11 RandR extension library"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
options="!check" # No test suite.
-depends=
depends_dev="libxext-dev"
makedepends="xorgproto $depends_dev libx11-dev libxrender-dev util-macros"
source="https://www.x.org/releases/individual/lib/libXrandr-$pkgver.tar.bz2
"
-
builddir="$srcdir"/libXrandr-$pkgver
+
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
- --localstatedir=/var
+ --localstatedir=/var \
+ --disable-static
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING
}