Date: Thursday, April 8, 2021 @ 19:56:43
  Author: heftig
Revision: 411761

0.4.0-1

Modified:
  dleyna-connector-dbus/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++------------------
 1 file changed, 12 insertions(+), 18 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2021-04-08 19:53:31 UTC (rev 411760)
+++ PKGBUILD    2021-04-08 19:56:43 UTC (rev 411761)
@@ -1,42 +1,36 @@
-# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
+# Maintainer: Jan Alexander Steffens (heftig) <[email protected]>
 
 pkgname=dleyna-connector-dbus
-pkgver=0.3.0
-pkgrel=3
+pkgver=0.4.0
+pkgrel=1
 pkgdesc="Provides a D-Bus API for the dLeyna services"
+url="https://github.com/phako/dleyna-connector-dbus";
 arch=(x86_64)
-url="https://01.org/dleyna";
 license=(LGPL2.1)
 depends=(dleyna-core dbus)
-makedepends=(git)
-_commit=1f0932aaacdd67700912a0c9c6e610f16f346ced  # tags/0.3.0
-source=("git+https://github.com/01org/dleyna-connector-dbus#commit=$_commit";)
+makedepends=(git meson)
+_commit=a7b7e1fdacc4a43efbbce2189ce0d65788380ee1  # tags/v0.4.0^0
+source=("git+https://github.com/phako/dleyna-connector-dbus#commit=$_commit";)
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed 's/-/+/g'
+  git describe --tags | sed 's/^v//;s/-/+/g'
 }
 
 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
 }

Reply via email to