update udisks2
This commit is contained in:
1 parent
58912e8adf
commit
f7a3049b6a
3 files changed
+30
-12
No files matched your search
@@ -1,17 +1,17 @@
|
||||
#!/usr/bin/env bash
|
||||
name='libblockdev'
|
||||
release='3'
|
||||
version='3.1.1'
|
||||
release='4'
|
||||
version='3.4.0'
|
||||
url='https://github.com/storaged-project/libblockdev'
|
||||
description='A library for manipulating block devices'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/storaged-project/libblockdev/releases/download/$version-1/libblockdev-$version.tar.gz")
|
||||
source=("https://github.com/storaged-project/libblockdev/releases/download/$version/libblockdev-$version.tar.gz")
|
||||
depends=(gawk parted kmod libyaml btrfs-progs dosfstools gptfdisk
|
||||
libbytesize ndctl xfsprogs lvm2 volume_key dmraid libnvme)
|
||||
makedepends=()
|
||||
sha256sums=('a5cb33a53ff5969067982704f45399d02555fdb2313ed0c56eac9555397dc2db')
|
||||
sha256sums=('65ef9a37babd44b85b8ff9b273f90f9f7d5f8ff7b0c76a8edb69240325fd83f4')
|
||||
group=(sys.libs)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
@@ -19,18 +19,27 @@ arch=('x86_64')
|
||||
# ignore warnings. Bad idea but working
|
||||
export CFLAGS="$CFLAGS -Wno-all"
|
||||
|
||||
|
||||
cd $name-$version
|
||||
|
||||
prepare(){
|
||||
cd ..
|
||||
rm -rf $name-$version
|
||||
tar -xf $name-$version.tar.gz
|
||||
}
|
||||
|
||||
setup(){
|
||||
autoreconf -fvi
|
||||
./configure --prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
--sysconfdir=/etc \
|
||||
--without-gtk-doc
|
||||
}
|
||||
|
||||
build(){
|
||||
make $jobs
|
||||
make
|
||||
}
|
||||
|
||||
package(){
|
||||
make install $jobs
|
||||
make install
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user