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

recipes/gui/libnih/PAGBUILD.yaml main

33 lines Raw ← Back
123456789101112131415161718192021222324252627282930313233
pkgname: libnih
pkgver: '1.0.3'
pkgrel: '5'
pkgdesc: 'Small library for C application development'
url: 'https://launchpad.net/libnih'
arch: x86_64
depends:
- dbus
- expat
makedepends:
- dbus

source:
- 'https://launchpad.net/libnih/1.0/${pkgver}/+download/${pkgname}-${pkgver}.tar.gz'
- 'fix_gcc-10.patch'

sha256sums:
- SKIP
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  patch -Np1 -i ../fix_gcc-10.patch

  ./configure --prefix=/usr

  make
  make DESTDIR=${PKGDIR} install

package: |
  # Obsolets libs
  rm -f ${PKGDIR}/usr/lib/libnih-dbus.la
  rm -f ${PKGDIR}/usr/lib/libnih.la