Files
ports/core/libblockdev/spkgbuild
2019-09-09 22:39:05 +08:00

26 lines
745 B
Plaintext
Executable File

# description : C library supporting GObject introspection for manipulation of block devices
# homepage : https://github.com/rhinstaller/libblockdev
# maintainer : emmett1, emmett1.2miligrams at gmail.com
# depends : libbytesize lvm2 volume_key nss cryptsetup parted gobject-introspection python3 yaml
name=libblockdev
version=2.23
release=1
source=(https://github.com/storaged-project/libblockdev/releases/download/$version-1/$name-$version.tar.gz)
md5sum=(b956653be98a677cf004c07b302941b9)
build() {
cd $name-$version
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--with-python3 \
--without-gtk-doc \
--without-nvdimm \
--without-dm
make
make DESTDIR=$PKG install
}