summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorM0Rf302016-11-16 15:56:38 +0100
committerM0Rf302016-11-16 15:56:38 +0100
commit1ffc23a7091dfc3a9529c792568f5c90e5a17410 (patch)
tree8034016afb438e6f29534a5ac30e33bee4e80037 /PKGBUILD
parentfb7c2e81b0f6bbbcf319a4e7d9a3b8b0e819c819 (diff)
downloadaur-1ffc23a7091dfc3a9529c792568f5c90e5a17410.tar.gz
updated
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fcc2081c45a..72e750185f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,8 @@ pkgdesc="Open broadcast software for scheduling and station management."
arch=('i686' 'x86_64')
url="http://www.sourcefabric.org/en/airtime"
license=('GPL3')
-depends=('php56' 'php56-gd' 'php56-pear' 'zendframework' 'php56-pgsql' 'php56-apcu'
+phpver=56
+depends=('php$phpver' 'php$phpver-gd' 'php$phpver-pear' 'zendframework' 'php$phpver-pgsql'
'python2' 'python2-virtualenv' 'python2-pip'
'python2-configobj' 'python2-anyjson' 'python2-amqplib'
'python2-argparse' 'python2-configobj' 'python2-docopt'
@@ -48,7 +49,7 @@ branch=2.5.x
prepare() {
cd "$srcdir/airtime"
- grep -rl '/usr/bin/python' 'python_apps' 'utils' | xargs sed -i "s%/usr/bin/python%/usr/bin/python2%g"
+# grep -rl '/usr/bin/python' 'python_apps' 'utils' | xargs sed -i "s%/usr/bin/python%/usr/bin/python2%g"
grep -rl 'www-data' . | xargs sed -i "s%www-data%http%g"
}
@@ -74,7 +75,7 @@ package() {
install -D -m644 "LICENSE" "${pkgdir}/usr/share/doc/airtime/LICENSE"
install -D -m644 "LICENSE_3RD_PARTY" "${pkgdir}/usr/share/licenses/airtime/LICENSE_3RD_PARTY"
- install -D -m644 "../airtime.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/airtime.conf"
+ install -D -m644 "airtime_mvc/build/airtime.example.conf" "${pkgdir}/etc/airtime/airtime.example.conf"
install -D -m644 "airtime_mvc/build/airtime-php.logrotate" "${pkgdir}/etc/logrotate.d/airtime-php"
install -D -m644 "python_apps/pypo/liquidsoap/airtime-liquidsoap.logrotate" "${pkgdir}/etc/logrotate.d/airtime-liquidsoap"
@@ -87,11 +88,10 @@ package() {
install -d -m655 "${pkgdir}/etc/airtime"
install -d -m655 "${pkgdir}/usr/share/php/"
#Zend
- ln -sr /usr/share/zendframework "${pkgdir}/usr/share/php/Zend"
- ln -sr /usr/share/zendframework "${pkgdir}/usr/share/php/libzend-framework-php"
+ ln -sr /usr/share/zendframework/library/ "${pkgdir}/usr/share/php/Zend"
+ ln -sr /usr/share/zendframework/library "${pkgdir}/usr/share/php/libzend-framework-php"
- install -D -m644 "airtime_mvc/build/airtime.example.conf" "${pkgdir}/etc/airtime/airtime.conf"
- install -D -m644 "installer/php/airtime.ini" "${pkgdir}/etc/php56/conf.d/airtime.ini"
+ install -D -m644 "installer/php/airtime.ini" "${pkgdir}/etc/php$phpver/conf.d/airtime.ini"
install -D -m644 ../httpd-airtime.conf "${pkgdir}/etc/httpd/conf/extra/httpd-airtime.conf"
install -D -m644 ../airtime-media-monitor.service "${pkgdir}/usr/lib/systemd/system/airtime-media-monitor.service"
@@ -129,4 +129,4 @@ md5sums=('SKIP'
'fc4a319d43a96f0003f348c7ddd8aca2'
'93f750480f7c49d72cdcdb10cd97c089'
'd9c15aaa7b1da14acc99e047f58aac66'
- '8eefec225e6686d40cdebed21e7ae876')
+ '0bfc22b287e7a41fd20d60841cc9082a')