Date: Thursday, April 8, 2021 @ 19:53:31 Author: heftig Revision: 411760
0.7.0-1 Modified: dleyna-core/trunk/PKGBUILD ----------+ PKGBUILD | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-04-08 18:34:13 UTC (rev 411759) +++ PKGBUILD 2021-04-08 19:53:31 UTC (rev 411760) @@ -1,16 +1,16 @@ -# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> +# Maintainer: Jan Alexander Steffens (heftig) <[email protected]> pkgname=dleyna-core -pkgver=0.6.0+2+g1c6853f -pkgrel=2 +pkgver=0.7.0 +pkgrel=1 pkgdesc="Library of utility functions that are used by the higher level dLeyna" +url="https://github.com/phako/dleyna-core" arch=(x86_64) -url="https://01.org/dleyna" license=(LGPL2.1) depends=(gupnp) -makedepends=(git) -_commit=1c6853f5bc697dc0a8774fd70dbc915c4dbe7c5b # master -source=("git+https://github.com/01org/dleyna-core#commit=$_commit") +makedepends=(git meson) +_commit=6fb250b19f774a7fb908e85926ec1c3a011e81d7 # tags/v0.7.0^0 +source=("git+https://github.com/phako/dleyna-core#commit=$_commit") sha256sums=('SKIP') pkgver() { @@ -20,23 +20,17 @@ prepare() { cd $pkgname - NOCONFIGURE=1 ./autogen.sh } build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ - --disable-static - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make + arch-meson $pkgname build + meson compile -C build } check() { - cd $pkgname - make check + meson test -C build --print-errorlogs } package() { - cd $pkgname - make DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" meson install -C build }
