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

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

44 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: 'xfce4-genmon-plugin'
pkgver: '4.3.0'
pkgrel: '1'
pkgdesc: 'plugin that monitors customizable programs stdout for the Xfce4 panel'
url: 'https://docs.xfce.org/panel-plugins/xfce4-genmon-plugin'
arch: x86_64
license:
- 'LGPL2.1'

depends: []
makedepends:
- autoconf
- intltool
- libtool
- 'xfce4-panel'
- 'hicolor-icon-theme'

source:
- 'https://archive.xfce.org/src/panel-plugins/${pkgname}/4.3/${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

  find ${PKGDIR}/usr/share/xfce4/panel/plugins -type f -name '*.desktop' \
         -exec sed -r '/\[.+\]=/d' -i {} \;

package: |
  true