diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-09-26 15:35:54 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-09-26 15:37:51 +0200 |
commit | abd0cd11e8cc83c4a7355bfa1565a7a81a4d495b (patch) | |
tree | 4459d03e181d6c7d60869e026efc291134de77d9 /main/btrfs-progs/APKBUILD | |
parent | f66404002e4ad4fdada2843256f406b7db6f5cd1 (diff) | |
download | aports-abd0cd11e8cc83c4a7355bfa1565a7a81a4d495b.tar.bz2 aports-abd0cd11e8cc83c4a7355bfa1565a7a81a4d495b.tar.xz |
main/btrfs-progs: upgrade to 4.7.3
Diffstat (limited to 'main/btrfs-progs/APKBUILD')
-rw-r--r-- | main/btrfs-progs/APKBUILD | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/main/btrfs-progs/APKBUILD b/main/btrfs-progs/APKBUILD index 7510bce316..785df6ca32 100644 --- a/main/btrfs-progs/APKBUILD +++ b/main/btrfs-progs/APKBUILD @@ -2,7 +2,7 @@ # Contributor: Łukasz Jendrysik <scadu@yandex.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=btrfs-progs -pkgver=4.7 +pkgver=4.7.3 pkgrel=0 pkgdesc="BTRFS filesystem utilities" url="https://btrfs.wiki.kernel.org/" @@ -19,19 +19,16 @@ source="https://www.kernel.org/pub/linux/kernel/people/kdave/$pkgname/$pkgname-v musl-compat.patch " -_builddir="$srcdir"/$pkgname-v$pkgver +builddir="$srcdir"/$pkgname-v$pkgver prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + default_prepare || return 1 + + cd "$builddir" ./autogen.sh } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -45,7 +42,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 mkdir "$pkgdir"/sbin for i in btrfs btrfsck fsck.btrfs mkfs.btrfs; do @@ -59,7 +56,7 @@ completion() { install_if="$pkgname=$pkgver-r$pkgrel bash-completion" arch="noarch" - install -Dm644 "$_builddir"/btrfs-completion \ + install -Dm644 "$builddir"/btrfs-completion \ "$subpkgdir"/usr/share/bash-completion/completions/btrfs } @@ -71,12 +68,12 @@ extra() { rmdir "$subpkgdir"/usr/lib || return 1 } -md5sums="ce139902859bb0ed9efd3b120ede371e btrfs-progs-v4.7.tar.xz +md5sums="b2dc5175a721247d982be6d98e1e7525 btrfs-progs-v4.7.3.tar.xz a79fe97241a26ec2a4be9fc566fa8e29 includes.patch 204ac1381fc0c373bc809d6a453615f2 musl-compat.patch" -sha256sums="1a5fdab01c21661e39b0d596f64c8ea164d77147f7084e428e1e71da2b2999cf btrfs-progs-v4.7.tar.xz +sha256sums="90cd6f0ce5a8bed5fcd6ea8a70d81de4a038163035d48a9ae0339bbf51df771c btrfs-progs-v4.7.3.tar.xz dc66938029c887fd29e69ce53f8acc8ac0f01fa49fede3b08c00f2f7acdb1f2a includes.patch fa678596c2979f929447f2fdface52823d9bea93d0f49d086ada07b7e57bae34 musl-compat.patch" -sha512sums="7ddcf0d620311f6ed90de0f7eb07e3f338d4ed281137d41d357748c640b03601b4903cf7266180d9a1c8d33acbee66c6eb44f595da28e8f4a470b763e7303741 btrfs-progs-v4.7.tar.xz +sha512sums="2609bfa90483a14daf33b77f4f1560ca75de602ad3d4ce705a95f1aebbec016574db91b0287287622e49d199507c90243eb6739bb5719a5f99557f8f3e8e2c1a btrfs-progs-v4.7.3.tar.xz 2040092c94096da283ca69ec0dd910ebd5329840df86e607226cc054e8b29112720c798b63f9630e35ed28c7c057bb433b09d8aec8df8c4793a6f1ecaa8be846 includes.patch 5c04ef0aa0390aa9b32fc8b8d3d0bfb16c61cb005eb70de8523f8eb709a2422960c1dea3ece11c7ae1442b538ea195b7eacba678a432e9bde7cb074392800af0 musl-compat.patch" |