sysconf file added
This commit is contained in:
1 parent
30a20cefb2
commit
648f1bb488
2 files changed
+16
-5
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
if ! [ -f /etc/localtime ] ; then
|
||||||
|
echo "<-00>0" > /etc/localtime
|
||||||
|
fi
|
||||||
@@ -2,19 +2,21 @@
|
|||||||
name='tzdata'
|
name='tzdata'
|
||||||
release='1'
|
release='1'
|
||||||
version='2024a'
|
version='2024a'
|
||||||
url='https://example.org'
|
url='https://www.iana.org/time-zones'
|
||||||
description='Package description missing'
|
description='Timezone data'
|
||||||
email='parduscix@yandex.ru'
|
email='parduscix@yandex.ru'
|
||||||
maintainer='sulincix'
|
maintainer='sulincix'
|
||||||
license=('GPLv3')
|
license=('Public-Domain')
|
||||||
source=("https://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz"
|
source=("https://www.iana.org/time-zones/repository/releases/tzcode$version.tar.gz"
|
||||||
"https://www.iana.org/time-zones/repository/releases/tzdata$version.tar.gz"
|
"https://www.iana.org/time-zones/repository/releases/tzdata$version.tar.gz"
|
||||||
"https://dev.alpinelinux.org/archive/posixtz/posixtz-0.5.tar.xz")
|
"https://dev.alpinelinux.org/archive/posixtz/posixtz-0.5.tar.xz"
|
||||||
|
"tzdata.sysconf")
|
||||||
depends=()
|
depends=()
|
||||||
makedepends=()
|
makedepends=()
|
||||||
sha256sums=('80072894adff5a458f1d143e16e4ca1d8b2a122c9c5399da482cb68cba6a1ff8'
|
sha256sums=('80072894adff5a458f1d143e16e4ca1d8b2a122c9c5399da482cb68cba6a1ff8'
|
||||||
'0d0434459acbd2059a7a8da1f3304a84a86591f6ed69c6248fffa502b6edffe3'
|
'0d0434459acbd2059a7a8da1f3304a84a86591f6ed69c6248fffa502b6edffe3'
|
||||||
'e0a79e0922be2da686a1888d79cd253baaf81c2f30b4378fbbcf9ff9d632aab5')
|
'e0a79e0922be2da686a1888d79cd253baaf81c2f30b4378fbbcf9ff9d632aab5'
|
||||||
|
'SKIP')
|
||||||
group=(dev.libs)
|
group=(dev.libs)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
@@ -25,6 +27,8 @@ build () {
|
|||||||
make posixtz $jobs
|
make posixtz $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Thx alpine linux
|
||||||
_timezones="africa antarctica asia australasia europe northamerica \
|
_timezones="africa antarctica asia australasia europe northamerica \
|
||||||
southamerica etcetera backward factory"
|
southamerica etcetera backward factory"
|
||||||
package() {
|
package() {
|
||||||
@@ -43,4 +47,7 @@ package() {
|
|||||||
install -Dm755 -t "$DESTDIR"/usr/bin ./posixtz-0.5/posixtz
|
install -Dm755 -t "$DESTDIR"/usr/bin ./posixtz-0.5/posixtz
|
||||||
|
|
||||||
install -Dm644 -t "$DESTDIR"/usr/share/zoneinfo ./leap-seconds.list
|
install -Dm644 -t "$DESTDIR"/usr/share/zoneinfo ./leap-seconds.list
|
||||||
|
|
||||||
|
mkdir -p "$DESTDIR"/etc/sysconf.d/
|
||||||
|
install tzdata.sysconf "$DESTDIR"/etc/sysconf.d/tzdata
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user