[arch-commits] Commit in libmicrodns/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sat Apr 25 11:10:58 UTC 2020


    Date: Saturday, April 25, 2020 @ 11:10:57
  Author: anthraxx
Revision: 381537

upgpkg: libmicrodns 0.1.2-1

Modified:
  libmicrodns/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-25 09:46:01 UTC (rev 381536)
+++ PKGBUILD	2020-04-25 11:10:57 UTC (rev 381537)
@@ -2,7 +2,7 @@
 # Contributor: Niklas <dev at n1klas.net>
 
 pkgname=libmicrodns
-pkgver=0.1.0
+pkgver=0.1.2
 pkgrel=1
 pkgdesc='Minimal mDNS resolver library'
 url='https://github.com/videolabs/libmicrodns'
@@ -9,24 +9,21 @@
 arch=('x86_64')
 license=('LGPL2.1')
 depends=('glibc')
+makedepends=('meson')
 provides=('libmicrodns.so')
 source=(https://github.com/videolabs/libmicrodns/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('aa78896719c60553d0310c236937dad0f5cb05ef0fdd33a0503aa9af984083b430b3b517ae174b116352d02d940282b17c5fb3fc4a67fd55dd8895a5773fd161')
+sha512sums=('a2a40f785cfcab280c1d5e187eef5f63e642dccdf1ada2e9f7ed2b85aef26e5c1b1cefc7df6fa4f83b46e5da5eaf05e0f0b02b677ca4e5e73b7fd70d74878552')
+b2sums=('91d93101f7fe9a407d5dba8b4d67c83258c5ec04ee09458e60f3904ab0945473c71e98446763386396550e99b412ff2bacf8482436abd3c6edc995eddd4d73ba')
 
-prepare() {
-  cd ${pkgname}-${pkgver}
-  autoreconf -fiv
-}
-
 build() {
   cd ${pkgname}-${pkgver}
-  ./configure --prefix=/usr
-  make
+  arch-meson build
+  ninja -C build
 }
 
 package() {
   cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  DESTDIR="${pkgdir}" meson install -C build
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list