1 # Maintainer: Tom Killian <tom at archlinux dot org>
2 # Contributor in-part: Paul Mattal <paul at archlinux dot org>
3 # Contributor: 7.4.1 version Johannes Kingma <johannes.kingma at gmail dot com>
6 # For the time being publish this package under its old name
7 _pkgname=squeezeboxserver
12 # Squeezecenter tarballs have an internal buildnumber
13 _pkgvertgz=7.4.1-28947
15 pkgdesc="Powerful streaming audio server from Logitech (former Slimdevices)"
17 source=(http://www.slimdevices.com/downloads/SqueezeboxServer_v${pkgver}/${_pkgname}-${pkgver}.tgz
21 md5sums=('fa65636e7df75ae7af884a2efa184639'
22 '354e109a1ad9d1ea35ff71c80289b6c5'
23 '3c2b29c60e939f064c354ad0f8cd9a9d')
25 url="http://www.logitechsqueezebox.com/products/overview.html"
27 arch=('i686' 'x86_64')
28 backup=('etc/conf.d/${_pkgname}' 'etc/rc.d/${_pkgname}')
29 install=${_pkgname}.install
30 replaces=(squeezecenter)
33 cd $srcdir/${_pkgname}-${_pkgvertgz} || return 1
35 mkdir -p $pkgdir/opt/${_pkgname} || return 1
36 cp -a * $pkgdir/opt/${_pkgname} || return 1
37 install -D -m755 ../${_pkgname}.rc $pkgdir/etc/rc.d/${_pkgname} || return 1
38 install -D -m644 ../${_pkgname}.conf.d $pkgdir/etc/conf.d/${_pkgname} || return 1
39 mkdir $pkgdir/opt/${_pkgname}/prefs