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

recipes/gui/notification-daemon/PAGBUILD.yaml main

38 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738
pkgname: 'notification-daemon'
pkgver: '3.20.0'
pkgrel: '5'
pkgdesc: 'Notification daemon for the desktop notifications framework'
url: 'https://www.gnome.org/'
arch: x86_64
depends: []
makedepends:
- intltool
- gtk3
- libcanberra

source:
- 'https://download.gnome.org/sources/${pkgname}/3.20/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr     \
              --sysconfdir=/etc \
              --disable-static 

  make
  make DESTDIR=${PKGDIR} install

package: |
  true

update: |
  local latest lastversion url
  url="https://download.gnome.org/sources/${pkgname}"
  latest="`lynx -read_timeout=20 -dump -listonly -nonumbers \
  $url/?C=N\;O=D|grep [0-9]/$|head -1`"
  lastversion="`lynx -read_timeout=20 -dump -listonly -nonumbers \
  $latest/?C=N\;O=D|grep LATEST|grep [0-9]$|cut -d "-" -f4`"
  echo "$lastversion"