summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-12-29 03:58:45 -0500
committerVincent Grande2020-12-29 03:58:45 -0500
commit59297913b4cb4f4b7cf2ea7fbb91d680f4d1dbb5 (patch)
tree3e64a068bea655a644b376828da063446f1e8b58
downloadaur-59297913b4cb4f4b7cf2ea7fbb91d680f4d1dbb5.tar.gz
initial upload
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD44
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5a6a3f44ae3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = libsndfile-minimal-git
+ pkgdesc = C library for reading and writing files containing sampled sound
+ pkgver = 1.0.28.r74.gbeee21e5
+ pkgrel = 1
+ url = http://www.mega-nerd.com/libsndfile/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = git
+ makedepends = autogen
+ depends = glibc
+ depends = alsa-lib
+ depends = libogg
+ depends = libvorbis
+ provides = libsndfile
+ conflicts = libsndfile
+ options = staticlibs
+ source = git+https://github.com/erikd/libsndfile.git
+ sha256sums = SKIP
+
+pkgname = libsndfile-minimal-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e4bc4ab2a4a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Vincent Grande <shoober420@gmail.com>
+# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=libsndfile-minimal-git
+pkgver=1.0.28.r74.gbeee21e5
+pkgrel=1
+pkgdesc="C library for reading and writing files containing sampled sound"
+arch=('i686' 'x86_64')
+url="http://www.mega-nerd.com/libsndfile/"
+license=('LGPL')
+depends=('glibc' 'alsa-lib' 'libogg' 'libvorbis')
+makedepends=('git' 'autogen')
+provides=('libsndfile')
+conflicts=('libsndfile')
+options=('staticlibs')
+source=("git+https://github.com/erikd/libsndfile.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "libsndfile"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "libsndfile"
+
+ ./autogen.sh
+ ./configure --prefix="/usr" --disable-sqlite --disable-bow-docs --disable-full-suite
+ make
+}
+
+#check() {
+# cd "libsndfile"
+
+# make check
+#}
+
+package() {
+ cd "libsndfile"
+
+ make DESTDIR="$pkgdir" install
+}