summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle2015-07-28 20:29:22 -0400
committerKyle2015-07-28 20:29:22 -0400
commit2bb94b7218214b0113370c3970736309073ccae7 (patch)
tree9c5e3c1f4bf318ca1089354f9c056e473416b7ff
downloadaur-2bb94b7218214b0113370c3970736309073ccae7.tar.gz
Initial import
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD38
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fa31f63772d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = opus-git
+ pkgdesc = codec designed for interactive speech and audio transmission over the Internet (git master)
+ pkgver = 0.0
+ pkgrel = 3
+ url = http://www.opus-codec.org/
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = git
+ depends = glibc
+ provides = opus
+ conflicts = opus
+ options = !libtool
+ source = git://git.opus-codec.org/opus.git
+ md5sums = SKIP
+
+pkgname = opus-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f1a5f95d701
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Kyle <kyle@gmx.ca>
+pkgname=opus-git
+_gitname=opus
+pkgver=0.0 # automatically determined from git origin
+pkgrel=3
+pkgdesc="codec designed for interactive speech and audio transmission over the Internet (git master)"
+arch=('i686' 'x86_64')
+url="http://www.opus-codec.org/"
+license=('BSD')
+depends=('glibc')
+makedepends=('git')
+provides=('opus')
+conflicts=('opus')
+options=('!libtool')
+source=('git://git.opus-codec.org/opus.git')
+md5sums=('SKIP')
+
+pkgver() {
+ cd $_gitname
+ # Use the tag of the last commit
+ git describe --always | sed -e 's|v||' -e 's|-|.|g'
+}
+
+ build() {
+ cd $_gitname
+./autogen.sh
+ ./configure --prefix=/usr --enable-custom-modes --disable-static
+ make
+}
+
+package() {
+ cd $_gitname
+ make DESTDIR="$pkgdir/" install
+ install -m755 -d "${pkgdir}/usr/share/licenses/opus"
+ install -m644 COPYING "${pkgdir}/usr/share/licenses/opus/"
+}
+
+# vim:set ts=2 sw=2 et: