🔒 Repository is read-only – file editing is disabled.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
pkgname: libblockdev
pkgver: '3.5.0'
pkgrel: '3'
pkgdesc: 'C library supporting GObject introspection for manipulation of block devices'
url: 'https://github.com/storaged-project/libblockdev'
arch: x86_64
license:
- 'LGPL2.1'
depends:
- gptfdisk
makedepends:
- python
- 'python-pygments'
- glib
- 'gobject-introspection'
- libbytesize
- lvm2
- volume_key
- parted
- 'gtk-doc'
- yaml
- libnvme
- e2fsprogs
- libatasmart
- 'json-glib'
source:
- 'https://github.com/storaged-project/${pkgname}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz'
sha256sums:
- SKIP
build: |
cd ${pkgname}-${pkgver}
# AM_INIT_AUTOMAKE ma -Werror; CFLAGS buildera (-D_GNU_SOURCE) koliduje z #define w zrodlach
find . -name Makefile.in -exec sed -i 's/-Werror/-Wno-error/g' {} +
./configure --prefix=/usr \
--with-python3 \
--without-dm \
--without-nvdimm \
--sysconfdir=/etc
make
make DESTDIR=${PKGDIR} install
rm -f ${PKGDIR}/usr/lib/*.la
install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
true