summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-04-19 17:56:51 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-04-19 17:56:51 (GMT)
commit0d6f96566d886701b01c55f1c518e01b07ebe1dd (patch)
tree964e2629cc598717d288e93e34f6ef13d76bff9b /abs
parentcff11ad5411c527f9c3a9b69dcaf54a50d8855bb (diff)
downloadlinhes_pkgbuild-0d6f96566d886701b01c55f1c518e01b07ebe1dd.zip
linhes_pkgbuild-0d6f96566d886701b01c55f1c518e01b07ebe1dd.tar.gz
linhes_pkgbuild-0d6f96566d886701b01c55f1c518e01b07ebe1dd.tar.bz2
shairplay: update to 20160101.ce80e00
Diffstat (limited to 'abs')
-rw-r--r--abs/extra/shairplay/PKGBUILD26
1 files changed, 16 insertions, 10 deletions
diff --git a/abs/extra/shairplay/PKGBUILD b/abs/extra/shairplay/PKGBUILD
index 6dcd537..32840e9 100644
--- a/abs/extra/shairplay/PKGBUILD
+++ b/abs/extra/shairplay/PKGBUILD
@@ -3,27 +3,33 @@
# Contributor: winlu
pkgname=shairplay
-_gitname=shairplay
-pkgver=20140422
-pkgrel=2
+_commit=ce80e00
+pkgver=20160101.ce80e00
+pkgrel=1
pkgdesc='Apple airplay and raop protocol server'
-arch=('i686' 'x86_64')
+arch=('x86_64')
url='https://github.com/juhovh/shairplay'
license=('custom')
depends=('libao')
optdepends=('avahi: to run the server')
makedepends=('git')
-source=("$_gitname::git://github.com/juhovh/shairplay.git#commit=64d59e3087f829006d091fa0d114efb50972a2bf"
- 'shairplay.service')
+source=(
+ "$pkgname::git://github.com/juhovh/shairplay.git#commit=$_commit"
+ 'shairplay.service'
+)
sha256sums=('SKIP'
'f0a176539a6c5be46dc832d054be2f18c3256e5fd34c5f1416c9463bd75c82b3')
-options=(!libtool)
+
+pkgver() {
+ cd "$pkgname"
+ git log -1 --date=short --format="%cd.%h" | tr -d '-'
+}
build() {
- cd $_gitname
+ cd "$pkgname"
# installing airport.key to /etc/shairplay/
- sed 's/airport.key/\/etc\/shairplay\/airport.key/' -i "$srcdir/$_gitname"/src/shairplay.c
+ sed 's/airport.key/\/etc\/shairplay\/airport.key/' -i "$srcdir/$pkgname"/src/shairplay.c
./autogen.sh
./configure --prefix=/usr/
@@ -32,7 +38,7 @@ build() {
package() {
- cd $_gitname
+ cd "$pkgname"
make DESTDIR="$pkgdir" install
# install systemd service file