diff --git a/cinstall/PKGBUILD b/cinstall/PKGBUILD deleted file mode 100644 index d691a0bdd..000000000 --- a/cinstall/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# -# Chakra Packages for Chakra, part of chakra-project.org -# -# maintainer (i686): Phil Miller -# maintainer (x86_64): Manuel Tortosa -# (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 -} - diff --git a/cinstall/cinstall.install b/cinstall/cinstall.install deleted file mode 100644 index 5dd7eb35a..000000000 --- a/cinstall/cinstall.install +++ /dev/null @@ -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 $*