summaryrefslogtreecommitdiff
path: root/user/xorg-gtest/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 21:38:57 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-06 21:38:57 +0000
commit8f8a0eb8788f35c1ca5db3730bcc10535934c05e (patch)
tree9fb43a334a0c10b0c9a7167fb056d56892684cf1 /user/xorg-gtest/APKBUILD
parentad24c013617b1481d0830fafd0555f6a02cd199f (diff)
downloadpackages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.gz
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.bz2
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.tar.xz
packages-8f8a0eb8788f35c1ca5db3730bcc10535934c05e.zip
user/*: Modernise / fix syntax / deps etc
Diffstat (limited to 'user/xorg-gtest/APKBUILD')
-rw-r--r--user/xorg-gtest/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/user/xorg-gtest/APKBUILD b/user/xorg-gtest/APKBUILD
index 2f18a49bc..1dee09b1e 100644
--- a/user/xorg-gtest/APKBUILD
+++ b/user/xorg-gtest/APKBUILD
@@ -3,13 +3,14 @@
pkgname=xorg-gtest
pkgver=0.7.1
pkgrel=0
-pkgdesc="X extensions to googletest"
+pkgdesc="X11 extensions to Google Test"
url="https://gitlab.freedesktop.org/xorg/test/xorg-gtest"
arch="noarch"
options="!check" # tests require X
license="MIT AND BSD-3-Clause"
depends=""
-makedepends="libx11-dev libxi-dev util-macros xorg-server-dev xf86-video-dummy"
+makedepends="libx11-dev libxi-dev util-macros xorg-server-dev xf86-video-dummy
+ autoconf automake"
subpackages="$pkgname-dev"
source="https://gitlab.freedesktop.org/xorg/test/xorg-gtest/-/archive/xorg-gtest-$pkgver/xorg-gtest-xorg-gtest-$pkgver.tar.bz2
remove-ridiculous-va_list-hacks.patch
@@ -17,13 +18,11 @@ source="https://gitlab.freedesktop.org/xorg/test/xorg-gtest/-/archive/xorg-gtest
builddir="$srcdir"/$pkgname-$pkgname-$pkgver
prepare() {
- cd "$builddir"
default_prepare
./autogen.sh
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -35,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
DESTDIR="$pkgdir" make install
for i in gtest gtest-spi; do
rm "$pkgdir"/usr/include/gtest/"$i".h