mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-01-24 18:42:14 +08:00
Merge branch 'testing' of gitorious.org:chakra-packages/core into testing
This commit is contained in:
commit
5f275f8331
@ -6,7 +6,7 @@
|
||||
|
||||
pkgname=findutils
|
||||
pkgver=4.4.2
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="GNU utilities to locate files"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL3')
|
||||
|
@ -1,9 +1,12 @@
|
||||
#$Id: PKGBUILD 37370 2009-05-01 06:37:35Z eric $
|
||||
#Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
#
|
||||
# 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=gperf
|
||||
pkgver=3.0.4
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Perfect hash function generator."
|
||||
arch=('x86_64' 'i686')
|
||||
url="http://www.gnu.org/software/gperf/"
|
||||
@ -14,9 +17,14 @@ source=(ftp://ftp.gnu.org/gnu/gperf/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('c1f1db32fb6598d6a93e6e88796a8632')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr || return 1
|
||||
make || return 1
|
||||
make DESTDIR=${pkgdir} install || return 1
|
||||
gzip ${pkgdir}/usr/share/info/gperf.info
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
./configure --prefix=/usr \
|
||||
--docdir=/usr/share/gperf/doc/
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"/${pkgname}-${pkgver}
|
||||
make DESTDIR="${pkgdir}" install
|
||||
gzip "${pkgdir}"/usr/share/info/gperf.info
|
||||
}
|
||||
|
29
kbd/PKGBUILD
29
kbd/PKGBUILD
@ -1,20 +1,25 @@
|
||||
# $Id: PKGBUILD 77418 2010-04-12 18:05:20Z tpowa $
|
||||
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
|
||||
#
|
||||
# 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=kbd
|
||||
pkgver=1.15.2
|
||||
pkgver=1.15.3
|
||||
pkgrel=1
|
||||
pkgdesc="Keytable files and keyboard utilities"
|
||||
arch=('i686' 'x86_64')
|
||||
url="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
|
||||
license=('GPL')
|
||||
depends=('glibc')
|
||||
source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/${pkgname}-${pkgver}.tar.gz)
|
||||
md5sums=('77d0b51454522bc6c170bbdc6e31202a')
|
||||
source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/${pkgname}-${pkgver}.tar.gz
|
||||
fix-es.po.patch)
|
||||
md5sums=('8143e179a0f3c25646ce5085e8777200'
|
||||
'4ded3edb50fb7a3277bae6a870cee812')
|
||||
|
||||
build() {
|
||||
cd ${startdir}/src/${pkgname}-${pkgver}
|
||||
|
||||
patch -Np1 -i ../fix-es.po.patch
|
||||
# rename keymap files with the same names
|
||||
# this is needed because when only name of keymap is specified
|
||||
# loadkeys loads the first keymap it can find, which is bad (see FS#13837)
|
||||
@ -26,12 +31,16 @@ build() {
|
||||
mv data/keymaps/i386/fgGIod/trf{,-fgGIod}.map
|
||||
|
||||
./configure --prefix=/usr --datadir=/usr/share/kbd --mandir=/usr/share/man
|
||||
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes || return 1
|
||||
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${startdir}/pkg install
|
||||
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
make KEYCODES_PROGS=yes RESIZECONS_PROGS=yes DESTDIR=${pkgdir} install
|
||||
|
||||
# this is needed because initscripts call /bin/loadkeys
|
||||
# remove this when next versions of kbd
|
||||
# and initscripts with /usr/bin/loadkeys usage will be released
|
||||
mkdir ${startdir}/pkg/bin
|
||||
ln -s /usr/bin/loadkeys ${startdir}/pkg/bin/loadkeys
|
||||
mkdir ${pkgdir}/bin
|
||||
ln -s /usr/bin/loadkeys ${pkgdir}/bin/loadkeys
|
||||
}
|
||||
|
11
kbd/fix-es.po.patch
Normal file
11
kbd/fix-es.po.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- kbd-1.15.3/po/es.old 2011-05-14 23:12:49.000000000 +0200
|
||||
+++ kbd-1.15.3/po/es.po 2011-05-15 21:07:02.120669404 +0200
|
||||
@@ -1363,7 +1363,7 @@
|
||||
#: src/setfont.c:682
|
||||
#, c-format
|
||||
msgid "Saved %d-char %dx%d font file on %s\n"
|
||||
-msgstr "Se ha guardado el fichero de tipos %2$dx%3$d de %1$d caracteres en %s\n"
|
||||
+msgstr "Se ha guardado el fichero de tipos %dx%d de %d caracteres en %s\n"
|
||||
|
||||
#: src/setkeycodes.c:21
|
||||
#, c-format
|
Loading…
Reference in New Issue
Block a user