mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 08:54:36 +08:00
kde-baseapps-kwrite: Remove, already provided by ~kate
This commit is contained in:
parent
9a1b39bf26
commit
bea3cdf084
@ -1,51 +0,0 @@
|
||||
|
||||
|
||||
|
||||
# Maintainer: Manuel Tortosa <manutortosa@chakra-project@org>
|
||||
|
||||
# Include global configuration
|
||||
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||||
|
||||
pkgname=('kde-baseapps-kwrite')
|
||||
_pkgname=kate
|
||||
pkgver=${_kdever}
|
||||
pkgrel=1
|
||||
url="http://kde.org/"
|
||||
arch=('x86_64')
|
||||
license=('GPL' 'LGPL' 'FDL')
|
||||
pkgdesc="Text Editor"
|
||||
depends=("kde-runtime>=${_kdever}" 'kdesdk-kate')
|
||||
makedepends=("kdelibs>=${_kdever}" 'cmake' 'automoc4' 'docbook-xsl' "kdebindings-pykde4>=${_kdever}")
|
||||
groups=('kde' 'kde-baseapps' 'kde-uninstall')
|
||||
provides=('kdebase-kwrite' 'kwrite')
|
||||
replaces=('kdebase-kwrite')
|
||||
install='kde-baseapps-kwrite.install'
|
||||
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
|
||||
'pkgbuild-syntax-highlight.patch')
|
||||
sha1sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`
|
||||
'80c324c9db81c07a02374e7a092d75e0bdd6b4ea')
|
||||
|
||||
options=('docs' '!header' 'debug' 'log')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||
patch -p1 -i "${srcdir}"/pkgbuild-syntax-highlight.patch
|
||||
|
||||
rm -rf build
|
||||
mkdir build && cd build
|
||||
|
||||
msg "starting build ..."
|
||||
cmake .. -DCMAKE_BUILD_TYPE=${_build_type} \
|
||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||
-DBUILD_KTEXTEDITOR=OFF \
|
||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}/build/kwrite
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
cd ${srcdir}/${_pkgname}-${pkgver}/build/doc/kwrite
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
post_install() {
|
||||
xdg-icon-resource forceupdate --theme hicolor &> /dev/null
|
||||
update-desktop-database -q
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
--- kate-4.10.80/part/syntax/data/bash.xml~ 2013-06-13 09:46:51.569245577 +0000
|
||||
+++ kate-4.10.80/part/syntax/data/bash.xml 2013-06-13 09:47:31.745637790 +0000
|
||||
@@ -8,7 +8,7 @@
|
||||
<!ENTITY noword "(?![\w$+-])"> <!-- no word, $, + or - following -->
|
||||
<!ENTITY pathpart "([\w_@.%*?+-]|\\ )"> <!-- valid character in a file name -->
|
||||
]>
|
||||
-<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
||||
+<language name="Bash" version="2.17" kateversion="2.4" section="Scripts" extensions="*.sh;*.bash;*.ebuild;*.eclass;.bashrc;.bash_profile;.bash_login;.profile;PKGBUILD" mimetype="application/x-shellscript" casesensitive="1" author="Wilbert Berendsen (wilbert@kde.nl)" license="LGPL">
|
||||
|
||||
<!-- (c) 2004 by Wilbert Berendsen (wilbert@kde.nl)
|
||||
Changes by Matthew Woehlke (mw_triad@users.sourceforge.net)
|
Loading…
Reference in New Issue
Block a user