diff options
author | Davide Iosca | 2018-01-21 14:36:35 +0100 |
---|---|---|
committer | Davide Iosca | 2018-01-21 14:36:35 +0100 |
commit | a58412844a65ea458e2a2607f8f78db36281cd28 (patch) | |
tree | 7b80d68b007f5e05eb80e6e25e260319213a4f86 /PKGBUILD | |
parent | 4575c231d193f0f18e0b982872f26c350a2fce29 (diff) | |
download | aur-a58412844a65ea458e2a2607f8f78db36281cd28.tar.gz |
Upgrade to meson build system
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 3 insertions, 12 deletions
@@ -2,7 +2,7 @@ pkgname='vkcube-git' pkgdesc='Demo cube app for Vulkan' -pkgver=r41.1226eec +pkgver=r110.dfe5d8b pkgrel=1 url='https://github.com/krh/vkcube' arch=('i686' 'x86_64') @@ -10,29 +10,20 @@ license=('MIT') depends=('vulkan-icd-loader' 'libpng' 'mesa') source=('git+https://github.com/krh/vkcube') sha1sums=('SKIP') -makedepends=('git' 'vulkan-headers' 'vulkan-intel') +makedepends=('git' 'vulkan-headers' 'meson') pkgver() { cd "${srcdir}"/vkcube printf "r%d.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } -prepare() { - cd "${srcdir}"/vkcube - - autoreconf -f -i -v - ./configure --prefix=/usr -} - build() { cd "${srcdir}"/vkcube - - make V=1 -j2 + meson build } package() { cd "${srcdir}"/vkcube - install -dm755 "${pkgdir}"/usr/bin install -m755 vkcube "${pkgdir}"/usr/bin/vkcube } |