🔒 Repository is read-only – file editing is disabled.
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
pkgname: libosinfo
pkgver: '1.12.0'
pkgrel: '3'
pkgdesc: The Operating System information database
url: 'https://libosinfo.org'
arch: x86_64
license:
- GPL2 LGPL2.1
depends: []
makedepends:
- libsoup3
- libxml2
- check
- hwdata
- libxslt
- vala
source:
- 'https://gitlab.com/libosinfo/libosinfo/-/archive/v${pkgver}/libosinfo-v${pkgver}.tar.gz'
- libxml2.patch
sha256sums:
- 3c52fb542d65d1ec5a10f87126d7513c2bd115eaa2f87fb91b15ba588708fc7b
- SKIP
build: |
cd ${pkgname}-${pkgver}
patch -Np1 -i ../libxml2.patch
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
update: |
local url ext
url="https://releases.pagure.org/${pkgname}/"
ext=".tar.gz"
lynx -read_timeout=20 -dump -listonly -nonumbers \
$url|grep ${pkgname}-|grep $ext$|sed "s@$url${pkgname}-@@"|sed "s@$ext@@"|tail -1