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

recipes/gui/lirc/PAGBUILD.yaml main

37 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334353637
pkgname: lirc
pkgver: '0.10.2'
pkgrel: '6'
pkgdesc: 'Linux Infrared Remote Control utilities'
url: 'https://www.lirc.org/'
arch: x86_64
depends: []
makedepends:
- 'alsa-lib'
- 'xorg-libx11'
- libftdi
- 'libusb-compat'
- help2man
- libxslt
- 'python-setuptools'

source:
- 'https://prdownloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2'
- 'lirc.logrotate'
- 'lirc.tmpfiles'

sha256sums:
- SKIP
- SKIP
- SKIP

build: |
  cd ./${pkgname}-${pkgver}
  HAVE_UINPUT=1 ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
  make
  make DESTDIR=${PKGDIR} -j1 install
  install -Dm644 ../lirc.tmpfiles ${PKGDIR}/usr/lib/tmpfiles.d/lirc.conf
  install -Dm644 ../lirc.logrotate ${PKGDIR}/etc/logrotate.d/lirc

package: |
  true