mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 13:34:37 +08:00
Merge branch 'testing' of code.chakralinux.org:packages/core into testing
This commit is contained in:
commit
770020d401
@ -5,7 +5,7 @@
|
||||
|
||||
pkgname=glibc
|
||||
pkgver=2.26
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
_commit=633e2f7f3d88df6427aa3a7a984d3a6b796d9611 # release/2.26/master
|
||||
pkgdesc="GNU C Library"
|
||||
arch=('x86_64')
|
||||
@ -114,6 +114,9 @@ package() {
|
||||
make install_root=${pkgdir} install
|
||||
rm -f ${pkgdir}/etc/ld.so.{cache,conf}
|
||||
|
||||
# Shipped in tzdata
|
||||
rm -f "$pkgdir"/usr/bin/{tzselect,zdump,zic}
|
||||
|
||||
cd ../glibc
|
||||
|
||||
install -dm755 ${pkgdir}/usr/lib/{locale,systemd/system,tmpfiles.d}
|
||||
|
@ -1,10 +1,6 @@
|
||||
#
|
||||
# Core Packages for Chakra, part of chakra.org
|
||||
#
|
||||
|
||||
pkgname=man-pages
|
||||
pkgver=4.00
|
||||
_posixver=2003-a
|
||||
pkgver=4.16
|
||||
_posixver=2013-a
|
||||
pkgrel=1
|
||||
pkgdesc="Linux man pages"
|
||||
arch=('any')
|
||||
@ -13,8 +9,8 @@ url="http://man7.org/linux/man-pages/index.html"
|
||||
groups=('base')
|
||||
depends=()
|
||||
source=(http://www.kernel.org/pub/linux/docs/man-pages/$pkgname-$pkgver.tar.xz
|
||||
http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.bz2)
|
||||
md5sums=('3401eb0020c56639070d199c3e59a4f8'
|
||||
http://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/$pkgname-posix-${_posixver}.tar.xz)
|
||||
sah256sums=('3401eb0020c56639070d199c3e59a4f8'
|
||||
'7c78aff03c0a6767ba483d34f19e4b09')
|
||||
|
||||
build() {
|
||||
@ -38,7 +34,7 @@ package() {
|
||||
install -m644 ${srcdir}/$pkgname-posix-${_posixver}/POSIX-COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/POSIX-COPYRIGHT"
|
||||
|
||||
cd ${pkgdir}/usr/share/man
|
||||
# these are included in coreutils || return 1
|
||||
# these are included in coreutils
|
||||
rm -f man1/{chgrp,chmod,chown,cp,dir,dd}.1
|
||||
rm -f man1/{df,dircolors,du,install,ln,ls}.1
|
||||
rm -f man1/{mkdir,mkfifo,mknod,mv,rm,rmdir}.1
|
||||
@ -52,4 +48,12 @@ package() {
|
||||
rm -f man4/mouse.4
|
||||
# this is included in attr
|
||||
rm -f man5/attr.5
|
||||
# included in lirc
|
||||
rm -f man4/lirc.4
|
||||
# included in keyutils
|
||||
rm -f man7/{keyrings.7,persistent-keyring.7,process-keyring.7,session-keyring.7,thread-keyring.7,user-keyring.7,user-session-keyring.7}
|
||||
# included in tzdata
|
||||
rm -f man5/tzfile.5 man8/{tzselect,zdump,zic}.8
|
||||
}
|
||||
md5sums=('ad9f1ff81276fe8d90d077484d6d4b5e'
|
||||
'825fde78e6fddd02426ecdd50e2cbe0d')
|
||||
|
@ -1,25 +1,42 @@
|
||||
pkgname=tzdata
|
||||
pkgver=2018e
|
||||
pkgver=2018f
|
||||
pkgrel=1
|
||||
pkgdesc="Sources for time zone and daylight saving time data"
|
||||
arch=('x86_64')
|
||||
url="http://www.iana.org/time-zones"
|
||||
url="https://www.iana.org/time-zones"
|
||||
license=('GPL')
|
||||
options=('!emptydirs')
|
||||
source=(http://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz)
|
||||
source=(https://www.iana.org/time-zones/repository/releases/tzcode${pkgver}.tar.gz
|
||||
https://www.iana.org/time-zones/repository/releases/${pkgname}${pkgver}.tar.gz)
|
||||
sha256sums=('4ec74f8a84372570135ea4be16a042442fafe100f5598cb1017bfd30af6aaa70'
|
||||
'0af6a85fc4ea95832f76524f35696a61abb3992fd3f8db33e5a1f95653e043f2')
|
||||
|
||||
timezones=('africa' 'antarctica' 'asia' 'australasia'
|
||||
'europe' 'northamerica' 'southamerica'
|
||||
'pacificnew' 'etcetera' 'backward'
|
||||
'systemv' 'factory')
|
||||
md5sums=('97d654f4d7253173b3eeb76a836dd65e')
|
||||
|
||||
prepare() {
|
||||
sed -i "s:sbin:bin:g" Makefile
|
||||
}
|
||||
|
||||
build() {
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}
|
||||
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
|
||||
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
|
||||
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
|
||||
# install tzcode stuff
|
||||
make DESTDIR="${pkgdir}" install
|
||||
|
||||
# install tzdata stuff
|
||||
./zic -d ${pkgdir}/usr/share/zoneinfo ${timezones[@]}
|
||||
./zic -d ${pkgdir}/usr/share/zoneinfo/posix ${timezones[@]}
|
||||
./zic -d ${pkgdir}/usr/share/zoneinfo/right -L leapseconds ${timezones[@]}
|
||||
|
||||
zic -y ./yearistype -d ${pkgdir}/usr/share/zoneinfo -p America/New_York
|
||||
./zic -d ${pkgdir}/usr/share/zoneinfo -p America/New_York
|
||||
install -m444 -t ${pkgdir}/usr/share/zoneinfo iso3166.tab zone1970.tab zone.tab # zone.tab is depricated and will go soon
|
||||
|
||||
# cleanup
|
||||
rm "${pkgdir}/etc/localtime"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user