🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031
pkgname: libnih
pkgver: '1.0.3'
pkgrel: '4'
pkgdesc: 'Small library for C application development'
url: 'https://launchpad.net/libnih'
arch: x86_64
depends: []
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