summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrent s2017-06-23 20:11:51 -0400
committerbrent s2017-06-23 20:11:51 -0400
commitb83ff97d5d91b6b6d8500a973377dc791ba1b271 (patch)
tree601ca3f85400d0fb937cd0c18d41e6d6b8397adc
parentefd4892e42fea5366ad7e057a6414945b0f162e2 (diff)
downloadaur-b83ff97d5d91b6b6d8500a973377dc791ba1b271.tar.gz
some minor cleanup
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD12
2 files changed, 9 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5911b4334266..136682d03168 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Jun 22 00:55:02 UTC 2017
+# Sat Jun 24 00:11:51 UTC 2017
pkgbase = freeswitch
pkgdesc = An opensource and free (libre, price) telephony system, similar to Asterisk.
pkgver = 1.6.17
- pkgrel = 1
+ pkgrel = 2
url = http://freeswitch.org/
install = freeswitch.install
changelog = ChangeLog
diff --git a/PKGBUILD b/PKGBUILD
index 72caa41b47f2..747d0c65ecee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,7 +54,7 @@ _disabled_modules=(languages/mod_spidermonkey
pkgname='freeswitch'
pkgver='1.6.17'
-pkgrel=1
+pkgrel=2
pkgdesc="An opensource and free (libre, price) telephony system, similar to Asterisk."
arch=('i686' 'x86_64')
url="http://freeswitch.org/"
@@ -146,7 +146,7 @@ disable_module() {
sed -i -e "s|^${_fs_mod}|#${_fs_mod}|" modules.conf
}
-build() {
+prepare() {
cd ${srcdir}/${_pkgname}
# BUILD BEGINS
@@ -170,9 +170,7 @@ build() {
# CONFIGURE
# We need to override some things for the ./configure for 1.6.17
- PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
- CFLAGS+=" -I/usr/include/openssl-1.0"
- LDFLAGS+=" -I/usr/lib/openssl-1.0" ./configure \
+ PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig ./configure \
--prefix=/var/lib/freeswitch \
--with-python=/usr/bin/python2 \
--bindir=/usr/bin \
@@ -194,6 +192,10 @@ build() {
--with-rundir=/run/freeswitch
patch -Np1 < ../freeswitch-arch.patch # needed for 1.6.17
+}
+
+build() {
+ cd ${srcdir}/${_pkgname}
# COMPILE
make