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

recipes/gui/gweather-locations/PAGBUILD.yaml main

31 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031
pkgname: 'gweather-locations'
pkgver: '2026.2'
pkgrel: '1'
pkgdesc: 'Location and timezone database for the libgweather library'
url: 'https://gitlab.gnome.org/GNOME/gweather-locations'
arch: x86_64
license:
- GPL2

depends: []
makedepends:
- 'python-gobject'
- meson
- ninja

source:
- 'https://gitlab.gnome.org/GNOME/gweather-locations/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  sed -i "s|'Locations\.xml',|meson.current_source_dir() / 'Locations.xml',|" \
  ${pkgname}-${pkgver}/data/meson.build
  meson setup --prefix /usr --buildtype plain --libexecdir lib --sbindir bin -D b_pie=true gweather-locations-2026.2 builddir
  meson compile -C builddir
  DESTDIR=${PKGDIR} meson install -C builddir

package: |
  install -Dm644 ${pkgname}-${pkgver}/COPYING \
  ${PKGDIR}/usr/share/licenses/${pkgname}/COPYING