PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/gui/vala/PAGBUILD.yaml main

49 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
pkgname: vala
pkgver: '0.56.19'
pkgrel: '3'
pkgdesc: 'Programming language which bring news features of languages of programming modern to developers GNOME'
url: 'https://live.gnome.org/Vala'
arch: x86_64
license:
- GPL2

depends:
- glib
makedepends:
- glib
- graphviz
- libxslt
- help2man

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

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  ./configure --prefix=/usr \
              --disable-valadoc

  make
  make DESTDIR=${PKGDIR} install

  # Obsolete libs
  rm -f ${PKGDIR}/usr/lib/libvala-0.56.la
  rm -f ${PKGDIR}/usr/lib/vala-0.56/libvalaccodegen.la

  install -Dm644 COPYING ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING

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 "-" -f3`"
  echo "$lastversion"