🔒 Repository is read-only – file editing is disabled.

recipes/gui/dbus-glib/PAGBUILD.yaml main

36 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536
pkgname: 'dbus-glib'
pkgver: '0.114'
pkgrel: '2'
pkgdesc: 'The D-Bus GLib package contains GLib interfaces to the D-Bus API.'
url: 'https://www.freedesktop.org/wiki/Software/DBusBindings'
arch: x86_64
depends: []
makedepends:
- dbus
- expat
- glib

source:
- 'https://dbus.freedesktop.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr \
  --disable-static \
  --sysconfdir=/etc
  make
  make DESTDIR=${PKGDIR} install
  rm -f ${PKGDIR}/usr/lib/libdbus-glib-1.la

package: |
  true

update: |
  local url ext
  ext=".tar.gz"
  url="https://dbus.freedesktop.org/releases/dbus-glib"
  lynx -read_timeout=20 -dump -listonly -nonumbers \
  $url/?C=N\;O=D|grep ${pkgname}-[0-9]|grep $ext$|head -1|sed "s@$url/${pkgname}-@@"|sed "s/$ext//"