diff options
author | Mark Wagie | 2021-08-12 08:16:12 -0600 |
---|---|---|
committer | Mark Wagie | 2021-08-12 08:16:12 -0600 |
commit | 089f3b3504516e34020b230238aa857fa6c927ab (patch) | |
tree | 83825ca7213c417cae611476f98d97d180fc784f | |
parent | df18f56daa7d4a112a906b6382f719faf6efcbd6 (diff) | |
download | aur-089f3b3504516e34020b230238aa857fa6c927ab.tar.gz |
add aarch64
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 9 insertions, 8 deletions
@@ -4,6 +4,7 @@ pkgbase = glmark2 pkgrel = 1 url = https://github.com/glmark2/glmark2 arch = x86_64 + arch = aarch64 license = GPL license = custom makedepends = meson @@ -4,7 +4,7 @@ pkgname=glmark2 pkgver=2021.02 pkgrel=1 pkgdesc="An OpenGL 2.0 and ES 2.0 benchmark" -arch=('x86_64') +arch=('x86_64' 'aarch64') url="https://github.com/glmark2/glmark2" license=('GPL' 'custom') depends=('egl-wayland' 'libjpeg-turbo' 'libpng' 'libx11' 'mesa' 'systemd-libs') @@ -13,19 +13,19 @@ source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz") sha256sums=('bebadb78c13aea5e88ed892e5563101ccb745b75f1dc86a8fc7229f00d78cbf1') build() { - arch-meson "$pkgname-$pkgver" build \ - -Dflavors=drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2 - meson compile -C build + arch-meson "$pkgname-$pkgver" build \ + -Dflavors=drm-gl,drm-glesv2,wayland-gl,wayland-glesv2,x11-gl,x11-glesv2 + meson compile -C build } # No tests defined #check() { -# meson test -C build --print-errorlogs +# meson test -C build --print-errorlogs #} package() { - DESTDIR="$pkgdir" meson install -C build + DESTDIR="$pkgdir" meson install -C build - cd "$pkgname-$pkgver" - install -Dm644 COPYING.SGI -t "$pkgdir/usr/share/licenses/$pkgname" + cd "$pkgname-$pkgver" + install -Dm644 COPYING.SGI -t "$pkgdir/usr/share/licenses/$pkgname" } |