Date: Monday, August 7, 2017 @ 18:23:21
  Author: anatolik
Revision: 249479

upgpkg: shairport-sync 3.1-1

Modified:
  shairport-sync/trunk/PKGBUILD

----------+
 PKGBUILD |   18 +++++++++++++-----
 1 file changed, 13 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-08-07 18:04:20 UTC (rev 249478)
+++ PKGBUILD    2017-08-07 18:23:21 UTC (rev 249479)
@@ -2,8 +2,8 @@
 # Maintainer: Anatol Pomozov <[email protected]>
 
 pkgname=shairport-sync
-pkgver=3.0.2
-pkgrel=4
+pkgver=3.1
+pkgrel=1
 pkgdesc='Emulates an AirPort Express for the purpose of streaming music from 
iTunes and compatible iPods and iPhones'
 url='https://github.com/mikebrady/shairport-sync'
 arch=(i686 x86_64)
@@ -12,14 +12,22 @@
 install=shairport-sync.install
 depends=(openssl avahi libsoxr popt alsa-lib libconfig libpulse)
 makedepends=(xmltoman)
-source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip)
-sha1sums=('9dc0cd429b8d3b2a1b96f69c13cf32264ecc8e8b')
+source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip
+        
useradd.patch::https://github.com/mikebrady/shairport-sync/commit/15c376ad57629dad16f1120dbf4c080f7de48475.patch)
+sha1sums=('8c9fe456edd1418452b58e6ff5a09ea79a36476f'
+          '0d216ac98a7c390476c79732e7361c4e66651340')
 
+prepare() {
+  cd shairport-sync-$pkgver
+  # Revert adding users with 'make install'. We have a separate *.install 
script for it.
+  patch -R < ../useradd.patch
+}
+
 build() {
   cd shairport-sync-$pkgver
 
   autoreconf -i -f
-  ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pulseaudio 
--with-avahi --with-ssl=openssl --with-soxr --with-dns_sd --with-pkg-config 
--with-systemd --with-configfiles
+  ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pa 
--with-avahi --with-ssl=openssl --with-soxr --with-dns_sd --with-pkg-config 
--with-systemd --with-configfiles
   make
 
   sed 's|/usr/local/bin/|/usr/bin/|' -i scripts/shairport-sync.service

Reply via email to