summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Taboada2017-02-25 05:06:11 -0600
committerMichael Taboada2017-02-25 05:06:11 -0600
commit1249e43a8ac30bc2434eb86ffe10b0fd08b516a6 (patch)
treec06609cb45e1981608d8c3321497b279fbd09240
downloadaur-1249e43a8ac30bc2434eb86ffe10b0fd08b516a6.tar.gz
First version of lib32-opusfile
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD35
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9b8c0d03164
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+# Generated by mksrcinfo v8
+# Sat Feb 25 11:05:55 UTC 2017
+pkgbase = lib32-opusfile
+ pkgdesc = Library for opening, seeking, and decoding .opus files - 32 bit version
+ pkgver = 0.8
+ pkgrel = 1
+ url = http://www.opus-codec.org/
+ arch = x86_64
+ license = BSD
+ makedepends = gcc-multilib
+ depends = lib32-libogg
+ depends = lib32-openssl
+ depends = lib32-opus
+ depends = opusfile
+ depends = lib32-glibc
+ source = http://downloads.xiph.org/releases/opus/opusfile-0.8.tar.gz
+ sha256sums = 2c231ed3cfaa1b3173f52d740e5bbd77d51b9dfecb87014b404917fba4b855a4
+
+pkgname = lib32-opusfile
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5e10ce34c76
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Michael Taboada <michael@2mb.solutions>
+#contributer: Storm Dragon <stormdragon2976@gmail.com>
+_pkgbase=opusfile
+pkgname=lib32-$_pkgbase
+pkgver=0.8
+pkgrel=1
+pkgdesc='Library for opening, seeking, and decoding .opus files - 32 bit version'
+arch=('x86_64')
+url='http://www.opus-codec.org/'
+license=('BSD')
+depends=('lib32-libogg' 'lib32-openssl' 'lib32-opus' 'opusfile' 'lib32-glibc')
+makedepends=('gcc-multilib')
+source=("http://downloads.xiph.org/releases/opus/$_pkgbase-$pkgver.tar.gz")
+sha256sums=('2c231ed3cfaa1b3173f52d740e5bbd77d51b9dfecb87014b404917fba4b855a4')
+
+build() {
+ export CC='gcc -m32'
+ export CXX='g++ -m32'
+ export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ cd "$_pkgbase-$pkgver"
+
+ ./configure --prefix=/usr --libdir=/usr/lib32
+ make
+}
+
+package() {
+ cd "$_pkgbase-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+ rm -rf "${pkgdir}"/usr/{include,share}
+ install -d "${pkgdir}"/usr/share/licenses
+ ln -s ${_pkgbase} "${pkgdir}"/usr/share/licenses/$pkgname
+}
+
+# vim:set ts=2 sw=2 et: