sysconf fixes

This commit is contained in:
sulincix committed 2022-11-20 10:28:41 +00:00
1 parent b712852f9c
commit 419f994452
3 files changed
+15 -3

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
current=$(date +%s -r /usr/share/glib-2.0/schemas/)
touch /var/lib/ymp/sysconf/glib/update.date
last=$(cat /var/lib/ymp/sysconf/glib/update.date)
if [ "$current" != "$last" ] ; then
glib-compile-schemas /usr/share/glib-2.0/schemas/
echo "$current" > /var/lib/ymp/sysconf/glib/update.date
fi
+6 -2
View File
@@ -7,10 +7,12 @@ description='Low-level core library that forms the basis for projects such as GT
email='parduscix@yandex.ru'
maintainer='sulincix'
license=('GPLv3')
source=('https://download.gnome.org/sources/glib/2.75/glib-2.75.0.tar.xz')
source=('https://download.gnome.org/sources/glib/2.75/glib-2.75.0.tar.xz'
'glib.sysconf')
depends=(libffi util-linux libpcre2 zlib)
makedepends=( )
md5sums=('6ac05ed98272c0a1927fbf1e32ebab8c')
md5sums=('6ac05ed98272c0a1927fbf1e32ebab8c'
'SKIP')
uses=()
arch=('x86_64')
@@ -31,5 +33,7 @@ build(){
package(){
ninja -C build install
mkdir -p ${DESTDIR}/etc/sysconf.d/
install ../glib.sysconf ${DESTDIR}/etc/sysconf.d/glib
}