OSDN Git Service

[update] : gconf
authorhayao <shun819.mail@gmail.com>
Mon, 5 Oct 2020 13:31:06 +0000 (22:31 +0900)
committerhayao <shun819.mail@gmail.com>
Mon, 5 Oct 2020 13:31:06 +0000 (22:31 +0900)
alter-stable/any/gconf/.SRCINFO
alter-stable/any/gconf/PKGBUILD

index ba76706..a255f7d 100644 (file)
@@ -1,7 +1,7 @@
 pkgbase = gconf
        pkgdesc = An obsolete configuration database system
        pkgver = 3.2.6+11+g07808097
-       pkgrel = 6
+       pkgrel = 9
        url = https://projects-old.gnome.org/gconf/
        install = gconf.install
        arch = x86_64
index 2c12ff8..bfe450a 100644 (file)
@@ -1,16 +1,17 @@
-# Maintainer: Jan de Groot <jan@archlinux.org>
+# Maintainer: João Figueiredo <jf dot mundox at gmail dot com>
+# Contributor: Jan de Groot <jan@archlinux.org>
 
 pkgname=gconf
 pkgver=3.2.6+11+g07808097
-pkgrel=6
+pkgrel=9
 pkgdesc="An obsolete configuration database system"
 url="https://projects-old.gnome.org/gconf/"
-arch=("x86_64" "i686")
+arch=(x86_64)
 license=(LGPL)
 depends=(libxml2 polkit libldap dbus-glib python)
 makedepends=(intltool gtk-doc gobject-introspection git gnome-common)
 install=gconf.install
-_commit=0780809731c8ab1c364202b1900d3df106b28626  # master
+_commit=0780809731c8ab1c364202b1900d3df106b28626 # The latest and last commit, dug out from deep within the waves of time...
 source=("git+https://gitlab.gnome.org/Archive/gconf.git#commit=$_commit"
         01_xml-gettext-domain.patch gconf-reload.patch
         gconf-merge-schema gconfpkg gconf-{install,remove}.hook)
@@ -22,11 +23,6 @@ sha256sums=('SKIP'
             '2732b2a6b187c5620105a036bde12edee99669605f70cbde56fe5f39619c3dc0'
             '436a65ff290095bc3d35d7d6297cf4d647f61e9f9922cea7ef9f1e251b447ff7')
 
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/-/+/g'
-}
-
 prepare() {
   cd $pkgname
 
@@ -70,10 +66,10 @@ package() {
 
   install -d "$pkgdir/etc/gconf/gconf.xml.system"
   install -Dt "$pkgdir/usr/bin" gconf-merge-schema gconfpkg
-  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
+  install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ./*.hook
 
   # fix dbus policy location - --with-dbusdir doens't work
-  install -dm755 ${pkgdir}/usr/share/dbus-1/system.d
-  mv ${pkgdir}/etc/dbus-1/system.d/* ${pkgdir}/usr/share/dbus-1/system.d
-  rm -rf ${pkgdir}/etc/dbus-1
+  install -dm755 "$pkgdir/usr/share/dbus-1/system.d"
+  mv "$pkgdir"/etc/dbus-1/system.d/* "$pkgdir/usr/share/dbus-1/system.d"
+  rm -rf "$pkgdir/etc/dbus-1"
 }