Skip to content

Instantly share code, notes, and snippets.

@andrewSC
Last active April 17, 2020 19:20
Show Gist options
  • Save andrewSC/50d38c0b69bcb2f6e2ee28edd1c5a322 to your computer and use it in GitHub Desktop.
Save andrewSC/50d38c0b69bcb2f6e2ee28edd1c5a322 to your computer and use it in GitHub Desktop.
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Niklas <dev@n1klas.net>
pkgname=libmicrodns
pkgver=0.1.2
pkgrel=1
pkgdesc='Minimal mDNS resolver library'
url='https://github.com/videolabs/libmicrodns'
arch=('x86_64')
license=('LGPL2.1')
depends=('glibc')
makedepends=('meson' 'ninja')
provides=('libmicrodns.so')
source=(https://github.com/videolabs/libmicrodns/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha512sums=('a2a40f785cfcab280c1d5e187eef5f63e642dccdf1ada2e9f7ed2b85aef26e5c1b1cefc7df6fa4f83b46e5da5eaf05e0f0b02b677ca4e5e73b7fd70d74878552')
build() {
cd ${pkgname}-${pkgver}
arch-meson ${pkgname}-${pkgver}
ninja -C ${pkgname}-${pkgver}
}
package() {
cd ${pkgname}-${pkgver}
DESTDIR="${pkgdir}" meson install -C ${pkgname}-${pkgver}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment