mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
Multiple: Update libgrantlee, fix minor typos
This commit is contained in:
parent
4a8134c498
commit
258312a96b
@ -1,7 +1,8 @@
|
|||||||
# Support packages for Desktop
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
||||||
|
# Contributors: Andrea Scarpino <andrea@archlinux.org>
|
||||||
|
|
||||||
pkgname=grantlee
|
pkgname=grantlee
|
||||||
pkgver=0.3.0
|
pkgver=0.4.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A string template engine based on the Django template system and written in Qt"
|
pkgdesc="A string template engine based on the Django template system and written in Qt"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@ -11,7 +12,7 @@ depends=('qt')
|
|||||||
makedepends=('cmake' 'doxygen')
|
makedepends=('cmake' 'doxygen')
|
||||||
conflicts=('grantlee-git')
|
conflicts=('grantlee-git')
|
||||||
source=("http://downloads.grantlee.org/${pkgname}-${pkgver}.tar.gz")
|
source=("http://downloads.grantlee.org/${pkgname}-${pkgver}.tar.gz")
|
||||||
md5sums=('195763a3238f51f8885881fc8012cd83')
|
sha512sums=('6ff539eb7aaf366487214b02131d67b9967713c42d20314ff56129e9543516fdf2d129b9c3015f0959c89c6f0ee9ad085af91fed4293bd0613d8e888bc850ca7')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
mkdir build
|
mkdir build
|
||||||
|
@ -2,22 +2,22 @@
|
|||||||
# install functions
|
# install functions
|
||||||
#
|
#
|
||||||
post_install() {
|
post_install() {
|
||||||
echo " "
|
echo " "
|
||||||
echo " > KDE Software Compilation 4.11.0"
|
echo " > KDE Software Compilation 4.12.0"
|
||||||
echo " > packaged by The Chakra Project"
|
echo " > packaged by the Chakra Project"
|
||||||
echo " "
|
echo " "
|
||||||
echo " Installation Prefix : /usr"
|
echo " Installation prefix : /usr"
|
||||||
echo " Configuration dir : ~/.kde4"
|
echo " Configuration directory : ~/.kde4"
|
||||||
echo " Update configs : /etc/chakra/updates.conf"
|
echo " Update configurations : /etc/chakra/updates.conf"
|
||||||
echo " Chakra Patches : /usr/share/chakra/patches"
|
echo " Chakra patches : /usr/share/chakra/patches"
|
||||||
echo " "
|
echo " "
|
||||||
echo " WWW : http://chakra-project.org"
|
echo " Website : http://chakra-project.org"
|
||||||
echo " Wiki : http://chakra-project.org/wiki/"
|
echo " Wiki : http://chakra-project.org/wiki/"
|
||||||
echo " Forums : http://chakra-project.org/bbs/"
|
echo " Forums : http://chakra-project.org/bbs/"
|
||||||
echo " Bugtracker: http://chakra-project.org/bugs/"
|
echo " Bugtracker : http://chakra-project.org/bugs/"
|
||||||
echo " CCR : http://chakra-project.org/ccr/"
|
echo " CCR : http://chakra-project.org/ccr/"
|
||||||
echo " ChangeLogs: http://gitorious.org/chakra-packages"
|
echo " Changelogs : http://gitorious.org/chakra-packages"
|
||||||
echo " "
|
echo " "
|
||||||
}
|
}
|
||||||
|
|
||||||
post_upgrade() {
|
post_upgrade() {
|
||||||
@ -25,7 +25,7 @@ post_upgrade() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_remove() {
|
post_remove() {
|
||||||
/bin/true
|
/bin/true
|
||||||
}
|
}
|
||||||
|
|
||||||
op=$1
|
op=$1
|
||||||
|
@ -22,7 +22,7 @@ pkgname=('kdepim-common'
|
|||||||
'kdepim-korganizer'
|
'kdepim-korganizer'
|
||||||
'kdepim-ktimetracker')
|
'kdepim-ktimetracker')
|
||||||
pkgver=${_kdever}
|
pkgver=${_kdever}
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://pim.kde.org"
|
url="http://pim.kde.org"
|
||||||
license=('GPL'
|
license=('GPL'
|
||||||
@ -54,7 +54,7 @@ source=($_mirror/${pkgbase}-${pkgver}.tar.xz)
|
|||||||
sha1sums=(`grep ${pkgbase}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
sha1sums=(`grep ${pkgbase}-$_kdever.tar.xz ../checksums.txt | cut -d" " -f1`)
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
mkdir "${srcdir}/build}"
|
mkdir "${srcdir}/build"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
@ -64,7 +64,7 @@ build() {
|
|||||||
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
||||||
-DKDE4_BUILD_TESTS=OFF \
|
-DKDE4_BUILD_TESTS=OFF \
|
||||||
-DCMAKE_SKIP_RPATH=ON \
|
-DCMAKE_SKIP_RPATH=ON \
|
||||||
-DKDEPIM_BUILD_MOBILE=OFF
|
-DKDEPIM_BUILD_MOBILE=OFF \
|
||||||
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
@ -296,7 +296,7 @@ package_kdepim-ktnef() {
|
|||||||
categories=('accessories')
|
categories=('accessories')
|
||||||
depends=("kdebase-runtime>=${pkgver}"
|
depends=("kdebase-runtime>=${pkgver}"
|
||||||
"kdepimlibs>=${pkgver}")
|
"kdepimlibs>=${pkgver}")
|
||||||
install=kdepim-ktnef.install
|
install=${pkgbase}.install
|
||||||
|
|
||||||
cd "${srcdir}"/build/ktnef
|
cd "${srcdir}"/build/ktnef
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
@ -308,7 +308,6 @@ package_kdepim-common() {
|
|||||||
"kde-runtime>=${_kdever}"
|
"kde-runtime>=${_kdever}"
|
||||||
"kde-common>=${_kdever}"
|
"kde-common>=${_kdever}"
|
||||||
"kdepim-runtime>=${_pkgver}"
|
"kdepim-runtime>=${_pkgver}"
|
||||||
'kde-agent'
|
|
||||||
'libxss'
|
'libxss'
|
||||||
'link-grammar')
|
'link-grammar')
|
||||||
groups=("kde"
|
groups=("kde"
|
||||||
|
@ -16,8 +16,8 @@ post_install() {
|
|||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo " > WARNING"
|
echo " > WARNING"
|
||||||
echo " The package kde-common seems not to be installed,"
|
echo " The package kde-common appears to not be installed,"
|
||||||
echo " this can possibly break the installation. Just install it"
|
echo " this can possibly break the installation. Install it"
|
||||||
echo " manually after this installation/update, run the following"
|
echo " manually after this installation/update, run the following"
|
||||||
echo " commands and restart KDE afterwards:"
|
echo " commands and restart KDE afterwards:"
|
||||||
echo " sudo chakra-config-updater"
|
echo " sudo chakra-config-updater"
|
||||||
|
Loading…
Reference in New Issue
Block a user