diff options
author | David Runge | 2020-11-07 00:21:57 +0100 |
---|---|---|
committer | David Runge | 2020-11-07 00:21:57 +0100 |
commit | 33f09e15c508d5b370aac2d42d685cb6accd64a7 (patch) | |
tree | 308086d230a43743eb5e3b3d496fd546755407b4 | |
download | aur-33f09e15c508d5b370aac2d42d685cb6accd64a7.tar.gz |
Move flac123 to the AUR (FS#64585)
PKGBUILD:
The flac123 upstream is basically dormant.
The tool itself is not really required anymore, as there are plenty of
music players capable of playing back FLAC files now (and they are still
maintained).
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 37 |
3 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..fc8a00e281cd --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = flac123 + pkgdesc = Command-line program for playing FLAC audio files + pkgver = 0.0.12 + pkgrel = 5 + url = https://sourceforge.net/projects/flac-tools/ + arch = x86_64 + license = GPL2 + makedepends = flac + makedepends = libao + depends = glibc + depends = popt + source = https://downloads.sourceforge.net/flac-tools/flac123-0.0.12-release.tar.gz + sha256sums = 1976efd54a918eadd3cb10b34c77cee009e21ae56274148afa01edf32654e47d + +pkgname = flac123 + depends = glibc + depends = popt + depends = libFLAC.so + depends = libao.so + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..62588e471813 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.log +*.zst +*.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..7c108c42c194 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: David Runge <dvzrv@archlinux.org> +# Contributor: Alexander F Rødseth <xyproto@archlinux.org> +# Contributor: Chris Brannon <chris@the-brannons.com> +# Contributor: Corrado Primier <bardo@aur.archlinux.org> +# Contributor: Patrick Burroughs <celticmadman@gmail.com> + +pkgname=flac123 +pkgver=0.0.12 +pkgrel=5 +pkgdesc='Command-line program for playing FLAC audio files' +arch=('x86_64') +license=('GPL2') +url="https://sourceforge.net/projects/flac-tools/" +depends=('glibc' 'popt') +makedepends=('flac' 'libao') +source=("https://downloads.sourceforge.net/flac-tools/${pkgname}-${pkgver}-release.tar.gz") +sha256sums=('1976efd54a918eadd3cb10b34c77cee009e21ae56274148afa01edf32654e47d') + +prepare() { + cd "$pkgname-$pkgver" + autoreconf -vfi +} + +build() { + cd "$pkgname-$pkgver" + ./configure --prefix=/usr + make +} + +package() { + depends+=('libFLAC.so' 'libao.so') + cd "$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -vDm 644 {AUTHORS,BUGS,NEWS,README,README.remote,ChangeLog} \ + -t "${pkgdir}/usr/share/doc/${pkgname}" +} +# vim:ts=2 sw=2 et: |