diff options
author | tmpfile <tmpfile@users.noreply.github.com> | 2017-05-14 12:46:46 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-06-09 11:51:45 +0000 |
commit | f922e3cfcc15203732e063f7caf06038c0ac759f (patch) | |
tree | 20d5282e793172f7c60afbebc0940524e4bcdf27 /main/udisks | |
parent | 3df8c9e27f07ebc8690faf36883d4529c283810c (diff) | |
download | aports-f922e3cfcc15203732e063f7caf06038c0ac759f.tar.bz2 aports-f922e3cfcc15203732e063f7caf06038c0ac759f.tar.xz |
main/udisks: modernize abuild
Diffstat (limited to 'main/udisks')
-rw-r--r-- | main/udisks/APKBUILD | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/main/udisks/APKBUILD b/main/udisks/APKBUILD index d79e22a84d..fb063f2080 100644 --- a/main/udisks/APKBUILD +++ b/main/udisks/APKBUILD @@ -11,24 +11,14 @@ depends="" makedepends="glib-dev polkit-dev parted-dev libgudev-dev sg3_utils-dev dbus-dev dbus-glib-dev lvm2-dev pkgconfig libatasmart-dev intltool eggdbus-dev expat-dev docbook-xsl libxslt" -install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz udisks-uhelper.patch " -_builddir="$srcdir"/$pkgname-$pkgver -prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} - +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -38,20 +28,15 @@ build() { --infodir=/usr/share/info \ --libexecdir=/usr/lib/udisks \ --localstatedir=/var \ - --disable-static \ - || return 1 - make || return 1 + --disable-static + make } package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install || return 1 + cd "$builddir" + make DESTDIR="$pkgdir" install mv "$pkgdir"/usr/share/pkgconfig "$pkgdir"/usr/lib/ } -md5sums="70d48dcfe523a74cd7c7fbbc2847fcdd udisks-1.0.5.tar.gz -8d522b2bf6e63c981ece6120f93cc201 udisks-uhelper.patch" -sha256sums="f2ec82eb0ea7e01dc299b5b29b3c18cdf861236ec43dcff66b3552b4b31c6f71 udisks-1.0.5.tar.gz -901ddac064e522e6eaa70c095a07e43bc1ce66246bdef775833a6adf29428253 udisks-uhelper.patch" sha512sums="bdf4970113975221ff0e17866db18fd969ff9c8e1e851c8ad7572630814ab0c46b59df59433edcb2e7cc41cc8152afd35807f45e07f6d0fa87b21b5a77d0965a udisks-1.0.5.tar.gz f96d9626d1361af5ff80bd9a57a5adac2d7a0a12b1f47c446a623fe64c4e58f0e6d591bbc2ad7ca619fee09706fe13e8692f86219f2cc3ef825f055f765af2ce udisks-uhelper.patch" |