pkgname=flac pkgver=1.4.3 pkgrel=1 pkgdesc="Free Lossless Audio Codec" arch=('x86_64') url="https://xiph.org/flac/" license=('custom:Xiph' 'LGPL' 'GPL' 'FDL') depends=('libogg') makedepends=('nasm') options=('!libtool' '!makeflags') #source=("https://ftp.osuosl.org/pub/xiph/releases/flac/${pkgname}-${pkgver}.tar.xz") source=("https://github.com/xiph/flac/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.xz") sha256sums=('6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70') build() { cd ${pkgname}-${pkgver} # run prior to building: export LC_ALL="en_US.UTF-8" ./configure --prefix=/usr \ --mandir=/usr/share/man \ --enable-shared \ --disable-sse \ --disable-rpath \ --with-pic make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install install -D -m644 COPYING.Xiph ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }