# Maintainer: pkgname=libdiscid pkgver=0.6.4 pkgrel=1 pkgdesc="C library for creating MusicBrainz DiscIDs from audio CDs" url="https://musicbrainz.org/doc/libdiscid" arch="all" license="LGPL-2.1-or-later" makedepends="linux-headers" subpackages="$pkgname-dev" source="http://ftp.musicbrainz.org/pub/musicbrainz/libdiscid/libdiscid-$pkgver.tar.gz" build() { CFLAGS="$CFLAGS -flto=auto" \ ./configure \ --prefix=/usr \ --host=$CHOST \ --build=$CBUILD \ --disable-static make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums=" 36a25ea3b3c009dba53623211e3858209318c1dc5526d1a27c7bf39ce765651de7f93ab6a43650fe4fe5d69b3f3c622f457d992dcc5e746263f0cbcb150b1ceb libdiscid-0.6.4.tar.gz "