summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSergej Pupykin2015-06-13 00:48:32 +0300
committerSergej Pupykin2015-06-13 00:48:32 +0300
commit2c0fe68340adeb223fa8f5bd73f4a021f37dea66 (patch)
tree0cec01ca1e9655e86f2f72156e5a6571b6d55ca8 /PKGBUILD
downloadaur-2c0fe68340adeb223fa8f5bd73f4a021f37dea66.tar.gz
migrate to aur4
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2aa47c9761e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=turnserver
+pkgver=0.7.2
+pkgrel=1
+pkgdesc="TURN server"
+arch=(i686 x86_64)
+url="http://turnserver.sourceforge.net/"
+license=('GPL')
+depends=('confuse' 'openssl')
+source=(http://downloads.sourceforge.net/project/turnserver/$pkgname-$pkgver.tar.bz2)
+md5sums=('47aeea6e1e0af56cde904673249b6931')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ CFLAGS="-Wno-error -D_GNU_SOURCE"
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}