Commit 2544f529 authored by Manuel's avatar Manuel
Browse files

Merge branch 'testing' of gitorious.org:chakra-packages/platform into testing

parents aaafe619 b31451af
......@@ -9,19 +9,24 @@ source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=anthy
pkgver=9100h
pkgrel=1
_filecode=37536
pkgrel=2
pkgdesc="Hiragana text to Kana Kanji mixed text Japanese input method"
arch=("i686" "x86_64")
url="http://sourceforge.jp/projects/anthy/"
license=('LGPL' 'GPL')
depends=('glibc')
options=('!libtool' 'force')
source=("http://sourceforge.jp/downloads/anthy/${_filecode}/$pkgname-$pkgver.tar.gz")
md5sums=('1f558ff7ed296787b55bb1c6cf131108')
source=("http://dl.sourceforge.jp/anthy/${_filecode}/${pkgname}-${pkgver}.tar.gz")
sha1sums=('bfea9e74e208c4b976b6bd7ac6784cd290c636fd')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc || return 1
make EMACS=emacs sysconfdir=/etc || return 1
make EMACS=emacs DESTDIR=$pkgdir install || return 1
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --disable-static
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make EMACS=emacs DESTDIR="${pkgdir}" install
}
#
# Platform 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>
# contributor Sebin A Jacob <sebinajacob at gmail dot com>
pkgname=aspell-ml
pkgver=0.03
pkgrel=1
pkgdesc="Malayalam dictionary for aspell"
arch=('i686' 'x86_64')
url="http://aspell.net"
license=('GPL')
depends=('aspell')
source=(ftp://ftp.gnu.org/gnu/aspell/dict/ml/aspell6-ml-${pkgver}-1.tar.bz2)
build() {
cd $startdir/src/aspell6-ml-${pkgver}-1
./configure
make || return 1
make DESTDIR=$startdir/pkg install
}
md5sums=('5ac03b3b0d0618b0aa470c9f5ac46866')
\ No newline at end of file
#
# Platform 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=aspell-pl
pkgver=20110629
pkgrel=1
pkgdesc="Polish dictionary for aspell"
arch=('i686' 'x86_64')
url="http://www.sjp.pl/slownik/en/"
license=('GPL' 'LGPL' 'MPL')
depends=('aspell')
source=(http://chakra-project.org/sources/${pkgname}/sjp-aspell6-pl-6.0_$pkgver-0.tar.bz2)
md5sums=('81e34acd36b97be0c269bb3ad7439377')
build() {
cd "$srcdir/aspell6-pl-6.0_$pkgver-0"
./configure
make
make DESTDIR="$pkgdir" install
}
\ No newline at end of file
pkgname=avr-libc
pkgver=1.7.1
pkgrel=1
pkgdesc="The C runtime library for the AVR family of microcontrollers"
arch=('any')
url="http://savannah.nongnu.org/projects/avr-libc/"
license=('custom')
depends=('gcc-avr')
source=(http://savannah.nongnu.org/download/avr-libc/${pkgname}-${pkgver}.tar.bz2)
md5sums=('8608061dcff075d44d5c59cb7b6a6f39')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --build=$(./config.guess) --host=avr --prefix=/usr
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
pkgname=avrdude
pkgver=5.10
pkgrel=1
pkgdesc="Download/upload/manipulate the ROM and EEPROM contents of AVR microcontrollers"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/avrdude/"
license=('GPL')
depends=('libusb-compat' 'readline')
source=(http://download.savannah.gnu.org/releases/avrdude/${pkgname}-${pkgver}.tar.gz)
md5sums=('69b082683047e054348088fd63bad2ff')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --mandir=/usr/share/man --prefix=/usr --sysconfdir=/etc
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
}
\ No newline at end of file
pkgname=binutils-avr
pkgver=2.21.1
pkgrel=1
pkgdesc="A set of programs to assemble and manipulate binary and object files for the avr architecture"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/binutils/"
license=('GPL')
depends=('glibc>=2.12.1-5' 'zlib')
options=('!libtool' '!distcc' '!ccache')
source=(http://ftp.gnu.org/gnu/${pkgname/-avr}/${pkgname/-avr}-${pkgver}.tar.bz2)
md5sums=('a22801a9cad45c85e9ff6afc10537d72')
build() {
cd ${srcdir}/${pkgname/-avr}-${pkgver}
mkdir build
cd build
CC="gcc -L$(pwd)/bfd/.libs/"
if [ "${CARCH}" = "x86_64" ]; then
../configure --build=$(../config.guess) \
--disable-multilib \
--disable-nls \
--enable-64-bit-bfd \
--enable-install-libbfd \
--includedir=/usr/$(../config.guess)/include \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--prefix=/usr \
--target=avr
else
../configure --build=$(../config.guess) \
--disable-nls \
--enable-install-libbfd \
--includedir=/usr/$(../config.guess)/include \
--infodir=/usr/share/info \
--libdir=/usr/lib \
--mandir=/usr/share/man \
--prefix=/usr \
--target=avr
fi
# This checks the host environment and makes sure all the necessary tools are available to compile Binutils.
make configure-host
make tooldir=/usr
}
package() {
cd ${srcdir}/${pkgname/-avr}-${pkgver}
cd build
make DESTDIR=${pkgdir} tooldir=/usr install
rm -f ${pkgdir}/usr/lib/libiberty.a
for bin in addr2line ar as c++filt gprof ld nm objcopy objdump ranlib readelf size strings strip ; do
rm -f ${pkgdir}/usr/bin/${bin} || return 1
done
for info in as bfd binutils configure gprof ld standards; do
mv ${pkgdir}/usr/share/info/${info}.info ${pkgdir}/usr/share/info/avr-${info}.info
done
}
# $Id: PKGBUILD 68017 2010-02-10 14:03:32Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
#
# Platform 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=cabextract
pkgver=1.2
pkgrel=2
pkgver=1.4
pkgrel=1
pkgdesc="A program to extract Microsoft cabinet (.CAB) files."
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.cabextract.org.uk/"
depends=('glibc')
source=(http://www.cabextract.org.uk/${pkgname}-${pkgver}.tar.gz)
md5sums=('dc421a690648b503265c82ade84e143e')
md5sums=('79f41f568cf1a3ac105e0687e8bfb7c0')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
--mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
......@@ -9,26 +9,28 @@
_kernver="2.6.35-CHAKRA-LTS"
pkgname=catalyst-lts
pkgver=11.5
pkgver=11.6
pkgrel=1
pkgdesc="AMD/ATI Catalyst drivers for kernel26. fglrx kernel module only"
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
license=('custom')
depends=('kernel26>=2.6.35' 'kernel26<2.6.36' 'catalyst-utils')
makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'kernel26-headers')
makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'kernel26-lts-headers>=2.6.35' 'kernel26-lts-headers<2.6.36')
conflicts=('catalyst-test' 'nvidia' 'xf86-video-ati' 'xf86-video-radeonhd' 'ati-dri')
install=catalyst.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run
ati_make.sh
makefile_compat.patch
no_bkl.patch)
no_bkl.patch
2.6.39_bkl.patch)
md5sums=('0a407ba5b7302239071a907e36a6934b'
md5sums=('516ea47b13d367e09a90acb9422df738'
'660396540b0ceaff71d6155c986734de'
'3e1b82bd69774ea808da69c983d6a43b'
'6a6b2133aa6ef3bcd377731b19c0553a')
'6a6b2133aa6ef3bcd377731b19c0553a'
'eb24250f8e537273bae9dbd79a022d61')
......@@ -60,8 +62,16 @@ build() {
## makefile patch to choose arch_compat_alloc_user_space or older compat_alloc_user_space
## works only in combination with ati_make.sh script
patch -Np1 -i ../makefile_compat.patch || return 1
patch -Np1 -i ../no_bkl.patch || return 1
if [[ ${_kernver:0:6} < "2.6.39" ]] && [[ `cat /lib/modules/${_kernver}/build/.config | grep -c CONFIG_BKL=y` = 0 ]]; then
patch -Np1 -i ../no_bkl.patch || return 1
fi
if [[ ${_kernver:0:6} == "2.6.39" ]] || [[ ${_kernver:0:6} > "2.6.39" ]]; then
patch -Np1 -i ../no_bkl.patch || return 1
patch -Np1 -i ../2.6.39_bkl.patch || return 1
fi
# if [[ ${_kernver:0:6} == "2.6.37" ]] || [[ ${_kernver:0:6} > "2.6.37" ]]; then
# patch -Np1 -i ../sema_init.patch || return 1
# fi
......
......@@ -5,16 +5,16 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=catalyst-utils
pkgver=11.5
pkgrel=1
pkgver=11.6
pkgrel=2
pkgdesc="AMD/ATI Catalyst drivers utilities and libraries."
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
license=('custom')
depends=('xorg-server>=1.7.0' 'xorg-server<1.11.0' 'netkit-bsd-finger' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs')
depends=('xorg-server>=1.7.0' 'xorg-server<1.11.0' 'netkit-bsd-finger' 'libxrandr' 'libsm' 'fontconfig' 'libxcursor' 'libxi' 'gcc-libs' 'libgl')
optdepends=('qt: to run ATi Catalyst Control Center (amdcccle)')
conflicts=('catalyst-test' 'nvidia-utils' 'libgl')
provides=('libgl' "libatical=${pkgver}")
conflicts=('catalyst-testing' 'nvidia-utils')
provides=("libatical=${pkgver}")
install=${pkgname}.install
source=(
......@@ -23,7 +23,7 @@ source=(
amdcccle.desktop
atieventsd.sh)
md5sums=('0a407ba5b7302239071a907e36a6934b'
md5sums=('516ea47b13d367e09a90acb9422df738'
'bdafe749e046bfddee2d1c5e90eabd83'
'4efa8414a8fe9eeb50da38b5522ef81d'
'f729bf913613f49b0b9759c246058a87')
......@@ -75,7 +75,7 @@ package() {
install -m755 linux/*.so "${pkgdir}/usr/lib/xorg/modules/linux/" || return 1
#install -m755 extensions/libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/" || return 1 #before 11.4
install -m755 extensions/fglrx/fglrx-libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so" || return 1 # since 11.5
ln -snf /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" # since 11.4
#ln -snf /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" # since 11.4
#install -m755 extensions/libdri.so "${pkgdir}/usr/lib/xorg/modules/extensions/libdri.ati" || return 1
# Controlcenter / libraries
......@@ -93,9 +93,9 @@ package() {
install -m755 X11R6/${_lib}/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx" || return 1 # since 11.5
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx/libGL.so.1.2" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/fglrx-libGL.so.1.2" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1.2" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1" # since 11.4
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so" # since 11.4
#ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1.2" # since 11.4
#ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so.1" # since 11.4
#ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 "${pkgdir}/usr/lib/libGL.so" # since 11.4
install -m755 X11R6/${_lib}/libAMDXvBA.so.1.0 "${pkgdir}/usr/lib/" || return 1 # since 11.4
ln -snf libAMDXvBA.so.1.0 "${pkgdir}/usr/lib/libAMDXvBA.so.1" # since 11.4
ln -snf libAMDXvBA.so.1.0 "${pkgdir}/usr/lib/libAMDXvBA.so" # since 11.4
......
......@@ -32,19 +32,40 @@ check_libdri_so(){
fi
}
link_libgl_so(){
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 /usr/lib/libGL.so.1.2
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 /usr/lib/libGL.so.1
ln -snf /usr/lib/fglrx/fglrx-libGL.so.1.2 /usr/lib/libGL.so
ln -snf /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so /usr/lib/xorg/modules/extensions/libglx.so
ln -snf libglx.xorg /usr/lib/xorg/modules/extensions/FGL.renamed.libglx.so
ln -snf /usr/lib/libGL.so.1.2.mesa /usr/lib/FGL.renamed.libGL.so.1.2
}
restore_libgl_so(){
ln -snf /usr/lib/libGL.so.1.2.mesa /usr/lib/libGL.so.1.2
ln -snf /usr/lib/libGL.so.1.2.mesa /usr/lib/libGL.so.1
ln -snf /usr/lib/libGL.so.1.2.mesa /usr/lib/libGL.so
ln -snf libglx.xorg /usr/lib/xorg/modules/extensions/libglx.so
rm -f /usr/lib/xorg/modules/extensions/FGL.renamed.libglx.so
rm -f /usr/lib/FGL.renamed.libGL.so.1.2
}
post_install(){
check_libdri_so
link_libgl_so
whisperer
}
post_upgrade(){
check_libdri_so
link_libgl_so
whisperer
}
post_remove(){
# If the symlink is dead, remove it
check_libdri_so
restore_libgl_so
echo "NOTE: Don't forget to recover your original xorg.conf file."
}
......@@ -9,13 +9,13 @@
_kernver=`pacman -Qf kernel26 | cut -c10-15 | sed 's/kernel26 //g'`-CHAKRA
pkgname=catalyst
pkgver=11.5
pkgrel=3
pkgver=11.6
pkgrel=1
pkgdesc="AMD/ATI Catalyst drivers for kernel26. fglrx kernel module only"
arch=('i686' 'x86_64')
url="http://www.ati.amd.com"
license=('custom')
depends=('kernel26>=2.6.39' 'kernel26<2.6.40' 'catalyst-utils')
depends=('kernel26>=2.6.38' 'kernel26<2.6.39' 'catalyst-utils')
makedepends=('gcc-libs' 'gcc>4.0.0' 'make' 'kernel26-headers')
conflicts=('catalyst-test' 'nvidia' 'xf86-video-ati' 'xf86-video-radeonhd' 'ati-dri')
install=${pkgname}.install
......@@ -23,14 +23,12 @@ install=${pkgname}.install
source=(http://www2.ati.com/drivers/linux/ati-driver-installer-${pkgver/./-}-x86.x86_64.run
ati_make.sh
makefile_compat.patch
no_bkl.patch
2.6.39_bkl.patch)
no_bkl.patch)
md5sums=('e6efc5477b7da9125945f5047b60b923'
md5sums=('516ea47b13d367e09a90acb9422df738'
'660396540b0ceaff71d6155c986734de'
'3e1b82bd69774ea808da69c983d6a43b'
'6a6b2133aa6ef3bcd377731b19c0553a'
'eb24250f8e537273bae9dbd79a022d61')
'6a6b2133aa6ef3bcd377731b19c0553a')
......@@ -67,15 +65,6 @@ build() {
patch -Np1 -i ../no_bkl.patch || return 1
fi
if [[ ${_kernver:0:6} == "2.6.39" ]] || [[ ${_kernver:0:6} > "2.6.39" ]]; then
patch -Np1 -i ../no_bkl.patch || return 1
patch -Np1 -i ../2.6.39_bkl.patch || return 1
fi
# if [[ ${_kernver:0:6} == "2.6.37" ]] || [[ ${_kernver:0:6} > "2.6.37" ]]; then
# patch -Np1 -i ../sema_init.patch || return 1
# fi
cd "${srcdir}/archive_files/common/lib/modules/fglrx/build_mod"
cp "${srcdir}/archive_files/arch/${_archdir}/lib/modules/fglrx/build_mod/libfglrx_ip.a" . || return 1
cp 2.6.x/Makefile . || return 1
......
KERNEL_VERSION=2.6.39-CHAKRA
KERNEL_VERSION=2.6.38-CHAKRA
whisperer(){
......
......@@ -3,7 +3,7 @@
pkgname=cdparanoia
pkgver=10.2
pkgrel=2
pkgrel=3
pkgdesc="Compact Disc Digital Audio extraction tool"
arch=('i686' 'x86_64')
url="http://www.xiph.org/paranoia/"
......
......@@ -8,8 +8,8 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=chakra-hardware-detection
pkgver=20110110
pkgrel=4
pkgver=20110704
pkgrel=1
pkgdesc="Hardware detection scripts for Chakra"
arch=('any')
url="http://www.chakra-project.org"
......
......@@ -9,7 +9,7 @@ HW_DB_PATH="/opt/chakra/hwdb"
# VERSION OF THE "NVIDIA" DRIVER PKG
# (keep in sync with postinstall config)
NVIDIA_DRV_VER="270"
NVIDIA_DRV_VER="275"
# NVIDIA HW DATABASE FILE NAME
NV_DB="hw_nvidia_hwdb"
......
......@@ -8,7 +8,7 @@ hwdetect_power()
printhl "Enabling powersave functions"
for i in /lib/modules/"$KERNEL"/kernel/arch/x86/kernel/cpu/cpufreq/*.ko; do
for i in /lib/modules/"$KERNEL"/kernel/arch/x86/kernel/cpu/cpufreq/*.ko*; do
if [ -r "$i" ]; then
case "$i" in *-lib.*) continue ;; esac
m="${i##*/}" ; m="${m%%.*}"
......@@ -29,7 +29,7 @@ hwdetect_power()
printhl "Enabling powersave functions"
for i in /lib/modules/"$KERNEL"/kernel/arch/x86/kernel/cpu/cpufreq/*.ko; do
for i in /lib/modules/"$KERNEL"/kernel/arch/x86/kernel/cpu/cpufreq/*.ko*; do
if [ -r "$i" ]; then
case "$i" in *-lib.*) continue ;; esac
m="${i##*/}" ; m="${m%%.*}"
......
......@@ -76,7 +76,9 @@ hwdetect_graphics()
rmmod -f ttm
rmmod -f drm_kms_helper
rmmod -f drm
pacman -Rd --noconfirm libgl &>/dev/null
pacman -Rd --noconfirm nouveau-dri &>/dev/null
pacman -Rd --noconfirm xf86-video-nv &>/dev/null
pacman -Rd --noconfirm xf86-video-nouveau &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia-utils-${NVIDIA_DRV_VER}* &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia*${NVIDIA_DRV_VER}* &>/dev/null
......@@ -94,7 +96,9 @@ hwdetect_graphics()
rmmod -f ttm
rmmod -f drm_kms_helper
rmmod -f drm
pacman -Rd --noconfirm libgl &>/dev/null
pacman -Rd --noconfirm nouveau-dri &>/dev/null
pacman -Rd --noconfirm xf86-video-nv &>/dev/null
pacman -Rd --noconfirm xf86-video-nouveau &>/dev/null
pacman -Udf --noconfirm ${HW_DRIVER_PATH}/nvidia-173xx* &>/dev/null
# add a status file in /tmp
......@@ -130,7 +134,6 @@ hwdetect_graphics()
printhl "ATI hardware detected"
printhl "Installing driver: ATI catalyst. This can take some seconds."
pacman -Rd --noconfirm libgl &>/dev/null
pacman -Rd --noconfirm ati-dri &>/dev/null
pacman -Rd --noconfirm xf86-video-ati &>/dev/null
pacman -Rd --noconfirm xf86-video-radeonhd &>/dev/null
......
# $Id: PKGBUILD 66595 2010-02-01 00:00:07Z giovanni $
# Maintainer: kevin <kevin@archlinux.org>
# Contributor: phrakture <aaronmgriffin+gmail+com>
# Contributor: SpepS <dreamspepser at yahoo dot it>
#
# 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=cpufrequtils
pkgver=007
pkgver=008
pkgrel=1
pkgdesc="Userspace tools for the kernel cpufreq subsystem"
arch=('i686' 'x86_64')
......@@ -16,7 +17,7 @@ source=(http://www.kernel.org/pub/linux/utils/kernel/cpufreq/${pkgname}-${pkgver
cpufreq.rcd
cpufreq.confd)
options=(!libtool)
md5sums=('fdd833ce70a9ae40ae8bce5b18f2becf'
md5sums=('c59b71c044d463896f3247e8dd83dd7e'
'7f2b5085df44d2df3e7c2d0b9f6dab08'
'baae1f2abffc6bef2bd32a8dd8263c09')
......
#!/bin/bash
# launches a session dbus instance
dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `$dbuslaunch --sh-syntax --exit-with-session`
fi
#
# 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=dbus-systemd
_pkgname=dbus
pkgver=1.4.0
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
arch=(i686 x86_64)
license=('GPL' 'custom')
depends=("dbus-core-systemd>=${pkgver}" 'libx11')
conflicts=('dbus=<1.4.5')
provides=('dbus')
makedepends=('libsm' 'libice')
source=(http://dbus.freedesktop.org/releases/${_pkgname}/${_pkgname}-${pkgver}.tar.gz
30-dbus)
md5sums=('f59618b18d2fb2bd1fce9e1c5a2a3282'
'd14e59575f04e55d21a04907b6fd9f3c')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=81 \
--with-system-pid-file=/var/run/dbus.pid \
--disable-verbose-mode --disable-static \
--enable-inotify --disable-dnotify \
--disable-tests --disable-asserts
make -C tools dbus-launch
}
packages() {
cd "${srcdir}/${_pkgname}-${pkgver}"
install -m755 -d "${pkgdir}/usr/bin"
install -m755 -d "${pkgdir}/usr/share/man/man1"
install -m755 tools/dbus-launch "${pkgdir}/usr/bin/" || return 1
install -m644 doc/dbus-launch.1 "${pkgdir}/usr/share/man/man1/"
install -m755 -d "${pkgdir}/etc/X11/xinit/xinitrc.d"
install -m755 "${srcdir}/30-dbus" "${pkgdir}/etc/X11/xinit/xinitrc.d/"