# Description: A library for manipulating block devices # URL: https://github.com/storaged-project/libblockdev # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: gobject-introspection libbytesize libyaml ndctl parted volume_key name=libblockdev version=2.28 release=1 source=(https://github.com/storaged-project/$name/releases/download/$version-1/$name-$version.tar.gz foo.patch) build() { cd $name-$version export CFLAGS="${CFLAGS} -Wno-deprecated-declarations" patch -Np1 -i $SRC/foo.patch aclocal automake ./configure --prefix=/usr \ --with-dm=no make make DESTDIR=$PKG install rm -fr $PKG/usr/share/gtk-doc }