mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 01:54:36 +08:00
Remove unused pkgbuild
This commit is contained in:
parent
51fa42e4d8
commit
d4f2fdff9f
@ -1,45 +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>
|
|
||||||
|
|
||||||
# include global config
|
|
||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# package info
|
|
||||||
#
|
|
||||||
pkgname=arxin
|
|
||||||
pkgver=20100210
|
|
||||||
pkgrel=2
|
|
||||||
pkgdesc="A graphical configurator for Arch Linux system settings."
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="http://chakra-project.org/tools-arxin.html"
|
|
||||||
license=('GPL')
|
|
||||||
depends=('kdelibs' 'kdebindings-common' 'kdebindings-python')
|
|
||||||
makedepends=('cmake')
|
|
||||||
replaces=('arxin-svn')
|
|
||||||
conflicts=('arxin-svn')
|
|
||||||
groups=()
|
|
||||||
categories=('system')
|
|
||||||
source=("http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}-${arch}.tar.gz")
|
|
||||||
options=('!splithdr')
|
|
||||||
|
|
||||||
groups=('kde' 'kde-complete' 'kde-uninstall' 'kde-tools')
|
|
||||||
|
|
||||||
md5sums=('66d38e892797f4b22310e1830c476265') # arxin-20100210-i686.tar.gz
|
|
||||||
[ "$CARCH" = "x86_64" ] && md5sums[0]='894e950f41d1d447538d237490c372fa' # arxin-20100210-x86_64.tar.gz
|
|
||||||
|
|
||||||
|
|
||||||
install=arxin.install
|
|
||||||
|
|
||||||
#
|
|
||||||
# build function
|
|
||||||
#
|
|
||||||
build()
|
|
||||||
{
|
|
||||||
cp -rf ${startdir}/usr ${startdir}/pkg
|
|
||||||
}
|
|
@ -1,70 +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>
|
|
||||||
|
|
||||||
# include global config
|
|
||||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# package info
|
|
||||||
#
|
|
||||||
pkgname=arxin
|
|
||||||
pkgver=20100521
|
|
||||||
pkgrel=1
|
|
||||||
pkgdesc="A graphical configurator for Arch Linux system settings."
|
|
||||||
arch=('i686' 'x86_64')
|
|
||||||
url="http://chakra-project.org/tools-arxin.html"
|
|
||||||
license=('GPL')
|
|
||||||
depends=('kdelibs' 'kdebindings-common' 'kdebindings-python')
|
|
||||||
makedepends=('cmake')
|
|
||||||
replaces=('arxin-svn')
|
|
||||||
conflicts=('arxin-svn')
|
|
||||||
groups=()
|
|
||||||
source=()
|
|
||||||
options=('!splithdr')
|
|
||||||
|
|
||||||
groups=('kdemod' 'complete' 'uninstall' 'tools')
|
|
||||||
|
|
||||||
install=tools-arxin.install
|
|
||||||
|
|
||||||
_gitroot="git://git.chakra-project.org/tools/arxin.git"
|
|
||||||
_gitname="arxin"
|
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# build function
|
|
||||||
#
|
|
||||||
build()
|
|
||||||
{
|
|
||||||
cd "${srcdir}"
|
|
||||||
msg "Connecting to GIT server...."
|
|
||||||
|
|
||||||
if [ -d $_gitname ] ; then
|
|
||||||
cd $_gitname && git pull origin
|
|
||||||
msg "The local files are updated."
|
|
||||||
else
|
|
||||||
git clone $_gitroot
|
|
||||||
fi
|
|
||||||
msg "GIT checkout done or server timeout"
|
|
||||||
msg "Starting make..."
|
|
||||||
|
|
||||||
rm -rf "${srcdir}/$_gitname-build"
|
|
||||||
|
|
||||||
cp -r "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
|
|
||||||
cd "${srcdir}/$_gitname-build/"
|
|
||||||
|
|
||||||
|
|
||||||
cmake . -DCMAKE_INSTALL_PREFIX=${_installprefix} || return 1
|
|
||||||
|
|
||||||
make VERBOSE=1 || return 1
|
|
||||||
make DESTDIR=$startdir/pkg install || return 1
|
|
||||||
|
|
||||||
rm -rf $startdir/src/$_svnmod-build
|
|
||||||
|
|
||||||
rm -rf $pkgdir/usr/share/applications/arxin.desktop
|
|
||||||
rm -rf $pkgdir/usr/share/applications/arxinroot.desktop
|
|
||||||
}
|
|
@ -1,67 +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
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
op=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
$op $*
|
|
Loading…
Reference in New Issue
Block a user