summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-11-05 13:34:50 +0800
committerChocobo12017-11-05 13:51:06 +0800
commitf1e92be34218e3d2da755914cbe495a7d3d74a33 (patch)
treec8f426e8f39524f414dacfeb164f5e3f66fa636a
downloadaur-audiofile-git.tar.gz
newpkg: audiofile-git 0.3.6.r25.gb62c902-1
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD43
2 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0c19a5fe4fe
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = audiofile-git
+ pkgdesc = Library for reading and writing audio files in many common formats
+ pkgver = 0.3.6.r25.gb62c902
+ pkgrel = 1
+ url = https://audiofile.68k.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ depends = glibc
+ depends = alsa-lib
+ depends = flac
+ provides = audiofile
+ conflicts = audiofile
+ options = staticlibs
+ source = git+https://github.com/mpruett/audiofile.git
+ sha256sums = SKIP
+
+pkgname = audiofile-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9a41a4107e3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=audiofile-git
+pkgver=0.3.6.r25.gb62c902
+pkgrel=1
+pkgdesc="Library for reading and writing audio files in many common formats"
+arch=('i686' 'x86_64')
+url="https://audiofile.68k.org/"
+license=('LGPL')
+depends=('glibc' 'alsa-lib' 'flac')
+makedepends=('git')
+provides=('audiofile')
+conflicts=('audiofile')
+options=('staticlibs')
+source=("git+https://github.com/mpruett/audiofile.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "audiofile"
+
+ git describe --long --tags | sed 's/^audiofile-//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "audiofile"
+
+ ./autogen.sh
+ ./configure --prefix="/usr" --disable-docs
+ make
+}
+
+check() {
+ cd "audiofile"
+
+ make check
+}
+
+package() {
+ cd "audiofile"
+
+ make DESTDIR="$pkgdir" install
+}