summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authornate2019-04-27 08:40:04 -0500
committernate2019-04-27 08:40:04 -0500
commit0719e4864a197ec36f12846254dec2490f53eaaa (patch)
tree27677f540911f0b8825999dbd19684968e4e3e9b /PKGBUILD
parent431ab3d621b0275945faf0c9ff79baa5642aaf17 (diff)
downloadaur-xplayer-plparser-git.tar.gz
update to meson build
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cd506725cf6..e32aa8380ca 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=xplayer-plparser-git
_pkgbasename=xplayer-plparser
-pkgver=1.0.2.r1.ga5380e4
+pkgver=master.lmde3.r0.g600ec3d
pkgrel=1
pkgdesc="Playlist parser for xplayer. X-Apps Project (git version)."
arch=('i686' 'x86_64' 'armv7h')
license=('GPL')
depends=('gmime' 'libsoup' 'libarchive' 'libquvi')
-makedepends=('git' 'gnome-common' 'gtk-doc' 'gobject-introspection')
+makedepends=('git' 'meson' 'gtk-doc' 'gobject-introspection')
provides=($pkgname $_pkgbasename)
conflicts=("${_pkgbasename}")
url='https://github.com/linuxmint/xplayer-plparser'
@@ -22,14 +22,17 @@ pkgver() {
}
build() {
- cd ${srcdir}/${pkgname}
- ./autogen.sh --prefix="/usr" \
- --localstatedir="/var" \
- --libexecdir="/usr/lib/${_pkgbasename}"
- make
+ mkdir -p "${srcdir}/${pkgname}/build"
+ cd "${srcdir}/${pkgname}/build"
+
+ meson --prefix=/usr \
+ --libexecdir=lib/${pkgname} \
+ --buildtype=plain \
+ ..
+ ninja
}
package(){
- cd ${srcdir}/${pkgname}
- make DESTDIR="$pkgdir/" install
+ cd ${srcdir}/${pkgname}/build
+ DESTDIR="$pkgdir/" ninja install
}