summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Keen2015-06-13 00:23:43 -0400
committerKyle Keen2015-06-13 00:23:43 -0400
commit39ff464967dbbb1cf8a05c8eea4fbd278c6390e1 (patch)
tree47706e04ff454175369128885011d01d03c133ef
downloadaur-39ff464967dbbb1cf8a05c8eea4fbd278c6390e1.tar.gz
Initial import
-rw-r--r--.AURINFO15
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD36
3 files changed, 67 insertions, 0 deletions
diff --git a/.AURINFO b/.AURINFO
new file mode 100644
index 00000000000..a570872e5bd
--- /dev/null
+++ b/.AURINFO
@@ -0,0 +1,15 @@
+pkgbase = codec2-svn
+ pkgdesc = Open source 2400 bit/s speech codec
+ pkgver = 2027
+ pkgrel = 1
+ url = http://codec2.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = subversion
+ makedepends = cmake
+ depends = glibc
+ source = svn+https://freetel.svn.sourceforge.net/svnroot/freetel/codec2
+
+pkgname = codec2-svn
+
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5b412eb32e6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = codec2-svn
+ pkgdesc = Open source 2400 bit/s speech codec
+ pkgver = 2027
+ pkgrel = 1
+ url = http://codec2.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = subversion
+ makedepends = cmake
+ depends = glibc
+ source = svn+https://freetel.svn.sourceforge.net/svnroot/freetel/codec2
+ md5sums = SKIP
+
+pkgname = codec2-svn
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6b5b69dc3a1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Kyle Keen <keenerd@gmail.com>
+# Contributor: Kovivchak Evgen <oneonfire@gmail.com>
+
+pkgname=codec2-svn
+pkgver=2027
+pkgrel=1
+pkgdesc="Open source 2400 bit/s speech codec"
+arch=('i686' 'x86_64')
+license=('LGPL')
+url="http://codec2.org/"
+depends=('glibc')
+makedepends=('subversion' 'cmake')
+source=('svn+https://freetel.svn.sourceforge.net/svnroot/freetel/codec2')
+md5sums=('SKIP')
+_svnmod=codec2
+
+pkgver() {
+ cd "$_svnmod"
+ local ver="$(svnversion)"
+ printf "%s" "${ver//[[:alpha:]]}"
+}
+
+build() {
+ cd "$_svnmod"
+ mkdir -p build_linux
+ cd build_linux
+ cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR:PATH=lib
+ make
+}
+
+package() {
+ cd "$_svnmod"
+ install -m644 -D COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ cd "build_linux"
+ make DESTDIR="$pkgdir" install
+}