core/tuxonice-userui/PKGBUILD
philm 840a3b8fc8 linux: enable tuxonice optional
linux-3-CHAKRA: update PATCHCFG
extramodules: rebuild for new kernel
2012-02-18 08:48:16 +01:00

40 lines
1.2 KiB
Bash

#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=tuxonice-userui
pkgver=1.1
pkgrel=1
pkgdesc="TuxOnIce userspace user interface"
url="http://www.tuxonice.net/"
license=("GPL")
install=tuxonice-userui.install
arch=('i686' 'x86_64')
depends=('bash' 'libmng' 'libpng' 'libjpeg' 'lcms' 'freetype2')
makedepends=('git')
options=('!makeflags')
source=(http://tuxonice.net/files/${pkgname}-${pkgver}.tar.gz
userui-install userui-hook pm-utils-hook)
build() {
cd ${srcdir}/${pkgname}
make USE_FBSPLASH=yes
}
package () {
cd ${srcdir}/${pkgname}
install -D -m644 $srcdir/userui-install $pkgdir/lib/initcpio/install/userui
install -D -m644 $srcdir/userui-hook $pkgdir/lib/initcpio/hooks/userui
install -D -m755 $srcdir/pm-utils-hook $pkgdir/etc/pm/sleep.d/80tuxonice-userui
mkdir -p $pkgdir/usr/sbin/
make DESTDIR=$pkgdir PREFIX=/usr install
}
md5sums=('09031bb0dc610664433f6d6865bf3e67'
'a8e8ecb03e319321713652e25bc34a98'
'96a359994273ab0e8baa198914ef0433'
'2f20475979c45787120f7f0b0270a523')