community/xbmc to 11.0-11

This commit is contained in:
Kevin Mihelich 2012-10-28 17:11:34 +00:00
parent cbe7665562
commit e5caebef3c
3 changed files with 6 additions and 6 deletions

View file

@ -17,7 +17,7 @@ _prefix=/usr
pkgname=xbmc
pkgver=11.0
pkgrel=9
pkgrel=11
pkgdesc="A software media player and entertainment hub for digital media"
arch=('i686' 'x86_64')
url="http://xbmc.org"
@ -41,7 +41,7 @@ source=("http://mirrors.xbmc.org/releases/source/xbmc-$pkgver.tar.gz"
"xbmc.service"
"alarm.patch")
sha256sums=('1fe5d310c16138f26e2b13bc545604e95f48ace6c8636f23e77da402cd7b0b19'
'75ae8eb37e334ae1383bf897b08dd5f70df12d79ce46cdbe4a7e0d3c82bce3af'
'82ebca3d66155f889a3d70311b000ac8b911b062af8df308d6a86aecc6b1b52b'
'6e4934e8d1bf82890679eca2fa78b3bc5942feedd9c012728a8d04c59be1651d')
build() {

View file

@ -1,13 +1,13 @@
post_install() {
[[ $(type -p gtk-update-icon-cache) ]] && usr/bin/gtk-update-icon-cache -qtf usr/share/icons/hicolor
[[ $(type -p update-desktop-database) ]] && usr/bin/update-desktop-database -q usr/share/applications
groupadd xbmc
useradd -G xbmc -d /var/empty xbmc
getent group xbmc > /dev/null || groupadd xbmc
getent passwd xbmc > /dev/null || useradd -d /var/empty xbmc
usermod -a -G xbmc,audio,video,power,network,optical,storage,disk xbmc
}
post_upgrade() {
post_install $1
echo "You may want to add xbmc user and group to use xbmc standalone"
}
post_remove() {

View file

@ -7,7 +7,7 @@ User = xbmc
Group = xbmc
Type = simple
ExecStart = /usr/bin/xinit /usr/bin/xbmc-standalone -- :0
Restart = on-failure
Restart = always
[Install]
WantedBy = multi-user.target