Merge branch 'master' of gitorious.org:chakra-packages/apps

This commit is contained in:
Manuel 2010-12-12 11:47:44 +00:00
commit a3422483ba
11 changed files with 84 additions and 208 deletions

View File

@ -1,36 +0,0 @@
#
# Chakra 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>
# (c) 2010 Drake Justice
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=cinstall
pkgver=0.0.2.2
pkgrel=4
depends=('kdelibs' 'qt' 'squashfs-tools' 'xz>=5.0.0' 'fakechroot' 'unionfs-fuse')
pkgdesc="Bundle Creator/Launcher and Package-Manager"
arch=("i686" "x86_64")
license=('GPL')
install=$pkgname.install
url="http://chakra-project.org/"
optdepends=('akabei: for akabei support'
'pacman: for pacman support')
source=("http://chakra-project.org/sources/cinstall/cinstall-$pkgver.tar.xz")
md5sums=('c30a57166663344021ef47fa32692b77')
build() {
mkdir -p $srcdir/build
cd $srcdir/build
cmake ../cinstall-$pkgver \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make || return 1
make DESTDIR=${pkgdir} install || return 1
}

View File

@ -1,145 +0,0 @@
post_install() {
if [ -e "/etc/chakra/updates.conf" ] ; then
. /etc/chakra/updates.conf
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
/usr/bin/chakra-update-icons
fi
else
echo " > WARNING"
echo " The package kde-common seems not to be installed,"
echo " this can possibly break the installation. Just install it"
echo " manually after this installation/update, run the following"
echo " commands and restart KDE afterwards:"
echo " sudo chakra-config-updater"
echo " kbuildsycoca4"
echo " "
fi
echo "Create group bundle"
if [ "Group: `grep bundle /etc/group`" = "Group: " ] ; then
groupadd bundle
else
echo "Group bundle already exists"
fi
echo "Adding all existing users to group bundle"
for i in `cat /etc/passwd | grep /home | cut -d: -f1` ; do
echo " - adding user $i"
usermod -a -G bundle $i
done
echo "Configuring sudoers file"
if [ "`grep '/bin/mount -o loop -t squashfs' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/mount -o loop -t squashfs *" >> /etc/sudoers
elif [ "`grep '/bin/mount -o loop -t ext4' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/mount -o loop -t ext4 *" >> /etc/sudoers
elif [ "`grep '/bin/umount *' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/umount *" >> /etc/sudoers
elif [ "`grep '/bin/chmod a+w *' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/chmod a+w *" >> /etc/sudoers
else
echo "sudoers file already modded"
fi
chmod -v 0440 /etc/sudoers
mkdir -p /etc/cb.conf.d &>/dev/null
chmod 775 /etc/cb.conf.d &>/dev/null
chown -R root:bundle /etc/cb.conf.d &>/dev/null
echo "update mime-database"
update-mime-database /usr/share/mime &>/dev/null
}
post_upgrade() {
if [ -e "/etc/chakra/updates.conf" ] ; then
. /etc/chakra/updates.conf
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
/usr/bin/chakra-update-icons
fi
else
echo " > WARNING"
echo " The package kde-common seems not to be installed,"
echo " this can possibly break the installation. Just install it"
echo " manually after this installation/update, run the following"
echo " commands and restart KDE afterwards:"
echo " sudo chakra-config-updater"
echo " kbuildsycoca4"
echo " "
fi
echo "Create group bundle"
if [ "Group: `grep bundle /etc/group`" = "Group: " ] ; then
groupadd bundle
else
echo "Group bundle already exists"
fi
echo "Adding all existing users to group bundle"
for i in `cat /etc/passwd | grep /home | cut -d: -f1` ; do
echo " - adding user $i"
usermod -a -G bundle $i
done
echo "Configuring sudoers file"
if [ "`grep '/bin/mount -o loop -t squashfs' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/mount -o loop -t squashfs *" >> /etc/sudoers
elif [ "`grep '/bin/mount -o loop -t ext4' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/mount -o loop -t ext4 *" >> /etc/sudoers
elif [ "`grep '/bin/umount *' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/umount *" >> /etc/sudoers
elif [ "`grep '/bin/chmod a+w *' /etc/sudoers`" = "" ] ; then
echo "%bundle ALL=NOPASSWD: /bin/chmod a+w *" >> /etc/sudoers
else
echo "sudoers file already modded"
fi
chmod -v 0440 /etc/sudoers
mkdir -p /etc/cb.conf.d &>/dev/null
chmod 775 /etc/cb.conf.d &>/dev/null
chown -R root:bundle /etc/cb.conf.d &>/dev/null
rm /etc/cb.conf.d/* -rv
echo "update mime-database"
update-mime-database /usr/share/mime &>/dev/null
}
post_remove() {
if [ -e "/etc/chakra/updates.conf" ] ; then
. /etc/chakra/updates.conf
if [ "$UPDATE_XDG_ICON_DB" = "yes" ]; then
/usr/bin/chakra-update-icons
fi
else
echo " > WARNING"
echo " The package kde-common seems not to be installed,"
echo " this can possibly break the installation. Just install it"
echo " manually after this installation/update, run the following"
echo " commands and restart KDE afterwards:"
echo " sudo chakra-config-updater"
echo " kbuildsycoca4"
echo " "
fi
rm /etc/cb.conf.d -r
}
op=$1
shift
$op $*

View File

@ -3,7 +3,7 @@ post_install() {
##################################################################################
#
# GTK - Integration v1.3-1
# GTK - Integration v1.3-2
#
# If you want GTK+ apps or bundles run with root privileges to be themed as well
# copy your `~/.gtkrc-2.0-kde4' file to `/root/gtkrc-2.0'

View File

@ -8,18 +8,18 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kmymoney
pkgver=4.5
pkgver=4.5.1
pkgrel=1
pkgdesc="An finance manager for KDE4 with HBCI support"
arch=('i686' 'x86_64')
url="http://kmymoney2.sourceforge.net"
license=('GPL')
depends=('kdebase-workspace' 'aqbanking-qt4' 'boost')
depends=('kdebase-workspace' 'aqbanking-qt4' 'boost' 'docbook-xml')
makedepends=('cmake' 'automoc4' 'libofx' 'gwenhywfar')
provides=()
conflicts=(kmymoney2)
replaces=(kmymoney2)
source=(http://downloads.sourceforge.net/project/kmymoney2/KMyMoney-KDE4/4.5/$pkgname-$pkgver.tar.bz2)
source=(http://downloads.sourceforge.net/project/kmymoney2/KMyMoney-KDE4/$pkgver/$pkgname-$pkgver.tar.bz2)
build() {
cd "$srcdir/$pkgname-$pkgver"
@ -28,4 +28,4 @@ build() {
make || return 1
make DESTDIR="$pkgdir/" install
}
md5sums=('a764fe259c7885f22a10049cef68398e')
md5sums=('b84e4871019a7f44848e65702c4ce3a2')

View File

@ -12,7 +12,7 @@ pkgdesc="A tool designed to make organizing your personal recipes collection fas
arch=('i686' 'x86_64')
url="http://extragear.kde.org/apps/krecipes/"
license=('GPL')
depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme')
depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme' 'docbook-xml')
makedepends=('cmake' 'automoc4')
optdepends=('mysql' 'postgresql')
install=${pkgname}.install

View File

@ -8,17 +8,17 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=lyx
pkgver=1.6.7
pkgrel=2
pkgver=1.6.8
pkgrel=1
pkgdesc="An advanced open-source document processor."
arch=('i686' 'x86_64')
url="http://www.lyx.org"
depends=('qt' 'texlive-core' 'python' 'perl' 'imagemagick' 'aspell' 'boost>=1.41.0')
depends=('qt' 'texlive-core' 'python2' 'perl' 'imagemagick' 'aspell' 'boost>=1.41.0')
optdepends=('texlive-latex3: pdf export')
license=('GPL')
source=(ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$pkgname-$pkgver.tar.bz2 \
lyx.desktop)
md5sums=('078a3568f41ceb6dd5f090071aab93bc'
md5sums=('90d1ffbf5e84c731ae296d83e0c319b1'
'c11db315dc99254a4118827f98922623')
build() {

View File

@ -8,7 +8,7 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=scribus
pkgver=1.3.8
pkgver=1.3.9
pkgrel=1
pkgdesc="A desktop publishing program"
arch=('i686' 'x86_64')
@ -16,12 +16,12 @@ url="http://www.scribus.net"
license=('GPL')
install=scribus.install
depends=('libcups>=1.3.11' 'lcms>=1.18' 'qt' 'ghostscript>=8.70' \
'libart-lgpl>=2.3.20' 'python>=2.6.2' 'libxml2>=2.7.3' 'cairo' \
'libart-lgpl>=2.3.20' 'python2' 'libxml2>=2.7.3' 'cairo' \
'desktop-file-utils' 'shared-mime-info')
makedepends=('cmake')
options=(!libtool !makeflags)
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
md5sums=('660b946ea3ba19e894fb5701832a6b54')
source=(http://sourceforge.net/projects/scribus/files/scribus-devel/${pkgver}/${pkgname}-${pkgver}.tar.bz2)
md5sums=(a54dbf2e10cd88d683d0d34565d29378)
build() {
cd ${srcdir}

25
sentinella/PKGBUILD Normal file
View File

@ -0,0 +1,25 @@
#
# Chakra 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=sentinella
pkgver=0.7.3
pkgrel=1
pkgdesc="Desktop application that watches your system activity and, in consequence, takes an action that you've chosen."
url="http://sentinella.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
depends=('oxygen-icons' 'libsysactivity' 'kdebase-workspace')
makedepends=('cmake' 'hicolor-icon-theme' 'automoc4')
install=('sentinella.install')
source=(http://downloads.sourceforge.net/${pkgname}/Sentinella-${pkgver}.tar.gz)
md5sums=('a3280608195ddee46308f635ebf404bd')
build() {
cd ${srcdir}/Sentinella-${pkgver}
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
make
make DESTDIR=${pkgdir} install
}

View File

@ -0,0 +1,11 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}

View File

@ -8,30 +8,24 @@
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=skanlite
pkgver=0.4
_kdever=4.4.0
pkgver=0.7
pkgrel=1
pkgdesc="Image Scanning Application for KDE"
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('LGPL')
depends=('kdegraphics-common')
makedepends=('pkgconfig' 'cmake' 'automoc4')
depends=('kdegraphics-common' )
makedepends=('pkgconfig' 'cmake' 'automoc4' 'docbook-xsl')
options=('docs')
source=("http://download.kde.org/stable/${_kdever}/src/extragear/${pkgname}-${pkgver}-kde${_kdever}.tar.bz2")
md5sums=('b1e6e8a3e6b2ffab667afbf6426d344d')
source=("http://downloads.sourceforge.net/sanewidget/${pkgname}-${pkgver}.tar.bz2")
md5sums=('cb256c392210c43d51e317c6a5ba9ad2')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver}-kde${_kdever} \
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
}

27
upower/PKGBUILD Normal file
View File

@ -0,0 +1,27 @@
#
# Chakra 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=upower
pkgver=0.9.7
pkgrel=1
pkgdesc="Abstraction for enumerating power devices, listening to device events and querying history and statistics"
arch=('i686' 'x86_64')
url="http://upower.freedesktop.org"
license=('GPL')
depends=('udev>=164' 'libusb1>=1.0.8' 'polkit>=0.98' 'pm-utils' 'dbus-glib>=0.92')
makedepends=('pkg-config' 'intltool' 'docbook-xsl')
replaces=('devicekit-power')
options=('!libtool')
source=($url/releases/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('7db45ff675e6836e89adc84d6937e9e5cd468ded89e8bd19edcbfb1a28f42933')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/upower --disable-static --disable-gtk-doc
make
make DESTDIR="${pkgdir}" install
}