-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- using config and init script as generated by shairport-sync (--with-systemd and --with-configfiles) - fixed --prefix erroneously containing $pkgdir - added DESTDIR to make install
- Loading branch information
1 parent
05a14b7
commit 2d082c8
Showing
3 changed files
with
7 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,35 @@ | ||
# Maintainer: Elia Cereda <eliacereda+arch at gmail dot com> | ||
# Maintainer: Moritz K. <moritzmhmk at gmail dot com> | ||
|
||
pkgname=shairport-sync-git | ||
pkgver=2.3.r38.g6bd14a6 | ||
pkgver=2.8.0 | ||
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 armv6h armv7h) | ||
license=('custom') | ||
backup=(etc/conf.d/shairport-sync) | ||
backup=(etc/shairport-sync.conf) | ||
install='shairport-sync.install' | ||
depends=(alsa-lib libdaemon openssl avahi popt libsoxr libconfig) | ||
makedepends=(git) | ||
source=("git+https://github.com/mikebrady/shairport-sync.git#branch=development" | ||
shairport-sync.install | ||
shairport-sync.service | ||
shairport-sync.conf) | ||
shairport-sync.install) | ||
sha1sums=('SKIP' | ||
'd51485f3857529b70a29b38814ea60e7dde54ca8' | ||
'79c9fcd8d885b265c5704a462e9b0445ea8e66c7' | ||
'789c29ddd39df97138932239e066772c6c118afe') | ||
'd51485f3857529b70a29b38814ea60e7dde54ca8') | ||
|
||
pkgver() { | ||
cd shairport-sync | ||
|
||
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' | ||
} | ||
|
||
build() { | ||
cd shairport-sync | ||
|
||
autoreconf -i -f | ||
./configure --without-initscript --without-configfiles --with-metadata --with-alsa --with-avahi --with-ssl=openssl --with-soxr --prefix="$pkgdir/usr" | ||
./configure --with-systemd --with-configfiles --with-metadata --with-alsa --with-avahi --with-ssl=openssl --with-soxr --prefix=/usr | ||
make | ||
} | ||
|
||
package() { | ||
install -D -m644 shairport-sync.service "$pkgdir/usr/lib/systemd/system/shairport-sync.service" | ||
install -D -m644 shairport-sync.conf "$pkgdir/etc/conf.d/shairport-sync" | ||
|
||
cd shairport-sync | ||
|
||
install -D -m664 LICENSES "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | ||
|
||
make install | ||
make DESTDIR="$pkgdir/" install | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.