diff options
author | Ainola | 2017-06-13 20:52:27 -0600 |
---|---|---|
committer | Ainola | 2017-06-13 20:52:27 -0600 |
commit | 2fa9f2ea8f460a581e30127f927abe73dd255dfa (patch) | |
tree | ab5ffbee26152de4125cf34644efacfa3320cf24 /PKGBUILD | |
parent | c4efb1455404e1213943f74e73c7d0ea9980fcbf (diff) | |
download | aur-2fa9f2ea8f460a581e30127f927abe73dd255dfa.tar.gz |
switch to meson for building
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -2,23 +2,26 @@ pkgname=gnome-mpv pkgver=0.12 -pkgrel=2 +pkgrel=3 pkgdesc="GNOME frontend for MPV" arch=('i686' 'x86_64') url="https://github.com/gnome-mpv/gnome-mpv" license=('GPL3') depends=('gtk3' 'mpv') +makedepends=('meson') optdepends=('youtube-dl: Video integration to YouTube and other video sites.') source=("https://github.com/gnome-mpv/gnome-mpv/releases/download/v${pkgver}/gnome-mpv-${pkgver}.tar.xz") sha256sums=('6c121261a1ea7e8065379c5355c2b2061eb4abbff0c8121ada211d4777fa9635') build() { cd "${pkgname}-${pkgver}" - ./configure --prefix=/usr - make + # Remove any potential residual build files + rm -rf _build + meson _build --buildtype=release --prefix=/usr + ninja -C _build } package() { cd "${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + env DESTDIR="$pkgdir" ninja -C _build install } |