aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Klitzing <aklitzing@gmail.com>2017-06-12 22:34:47 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-14 10:37:05 +0000
commit0e52c32b9464195ba58ee1fecb2ef4a51d960dc5 (patch)
tree300f9746dafcee2cfdc51df88c5d3194e0085b81
parent54a6b00062be739b808c3c713d5b2c092edf9e0f (diff)
downloadaports-0e52c32b9464195ba58ee1fecb2ef4a51d960dc5.tar.gz
aports-0e52c32b9464195ba58ee1fecb2ef4a51d960dc5.tar.bz2
aports-0e52c32b9464195ba58ee1fecb2ef4a51d960dc5.tar.xz
main/udisks2: upgrade to 2.6.5
-rw-r--r--main/udisks2/APKBUILD33
1 files changed, 9 insertions, 24 deletions
diff --git a/main/udisks2/APKBUILD b/main/udisks2/APKBUILD
index fa9f26f7d6..96115d2daf 100644
--- a/main/udisks2/APKBUILD
+++ b/main/udisks2/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=udisks2
-pkgver=2.1.7
+pkgver=2.6.5
pkgrel=0
pkgdesc="A Disk Manager"
url="http://www.freedesktop.org/wiki/Software/udisks"
@@ -13,23 +13,13 @@ depends_dev="gobject-introspection-dev polkit-dev libatasmart-dev
makedepends="$depends_dev glib-dev intltool gtk-doc linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
-source="http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2
+source="https://github.com/storaged-project/udisks/releases/download/udisks-$pkgver/udisks-$pkgver.tar.bz2
O_CLOEXEC.patch
"
-
-_builddir="$srcdir"/udisks-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/udisks-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -38,14 +28,13 @@ build() {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --enable-compile-warnings=minimum \
- || return 1
- make || return 1
+ --enable-compile-warnings=minimum
+ make
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
libs() {
@@ -56,9 +45,5 @@ libs() {
"$subpkgdir"/usr/lib/
}
-md5sums="8bccd36573b75286538bd5bd2c424f45 udisks-2.1.7.tar.bz2
-fd70ee4163c5bfd9bd474c28a2548c46 O_CLOEXEC.patch"
-sha256sums="abae2bb3bdc691ca13c1e4c244630b8c881c4f3b35c207299f1b39b7bec83785 udisks-2.1.7.tar.bz2
-2c325c131e8d66d09ec3ec4f2c022113822c494da37dd2316d87ac4dc721c82b O_CLOEXEC.patch"
-sha512sums="d32ec0741b4c55e863587a27095f69cf0375e0c80db70f2540cde70382dcafdce07a098a55b52a450c2014a6e09a4af0b70192bbc5b92ffd57b05a3bf3ab3111 udisks-2.1.7.tar.bz2
+sha512sums="19e375aebe63d85c036d231c78dc3d7fb9511da71415e60109da12d7b7c6a687be065e3b98545691d99573cc017c9f964d2dec5301919cce6937fd8c1709b9d5 udisks-2.6.5.tar.bz2
269ba55cc755e2a484670258bc530790691b66c9fce9479a2a17d78cff5d52dd1be89290979efd44a0ba82be665f52a356a57f2cbb67951d91fe09d4e24c2a6a O_CLOEXEC.patch"