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

recipes/gui/xfce4-battery-plugin/PAGBUILD.yaml main

40 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637383940
pkgname: 'xfce4-battery-plugin'
pkgver: '1.2.0'
pkgrel: '1'
pkgdesc: 'A battery monitor plugin for the Xfce panel'
url: 'https://goodies.xfce.org/projects/panel-plugins/xfce4-cpugraph-plugin'
arch: x86_64
license:
- 'LGPL2 GPL2'

depends: []
makedepends:
- libxfce4util
- libxfce4ui
- 'xfce4-panel'

source:
- 'https://archive.xfce.org/src/panel-plugins/${pkgname}/1.2/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

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

  mkdir build
  cd    build

  meson setup .. \
       --prefix=/usr          \
       --buildtype=release

  ninja

  DESTDIR=${PKGDIR} ninja install

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

package: |
  true