summaryrefslogtreecommitdiffstats
path: root/abs/core/btrfs-progs/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-28 13:00:43 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-28 13:00:43 (GMT)
commitb941d38c40a0ac08e7db249ba2c9b99f4bda2c23 (patch)
tree6f7544558b83f90d4ef7c74d3e37432a3e0914af /abs/core/btrfs-progs/PKGBUILD
parenta8b3aaa8ee20c220e456285ba36b53916184ebdb (diff)
downloadlinhes_pkgbuild-b941d38c40a0ac08e7db249ba2c9b99f4bda2c23.zip
linhes_pkgbuild-b941d38c40a0ac08e7db249ba2c9b99f4bda2c23.tar.gz
linhes_pkgbuild-b941d38c40a0ac08e7db249ba2c9b99f4bda2c23.tar.bz2
btrfs-progs: update to 4.4
Diffstat (limited to 'abs/core/btrfs-progs/PKGBUILD')
-rw-r--r--abs/core/btrfs-progs/PKGBUILD69
1 files changed, 41 insertions, 28 deletions
diff --git a/abs/core/btrfs-progs/PKGBUILD b/abs/core/btrfs-progs/PKGBUILD
index 47d6884..06a6603 100644
--- a/abs/core/btrfs-progs/PKGBUILD
+++ b/abs/core/btrfs-progs/PKGBUILD
@@ -1,47 +1,60 @@
-# $Id: PKGBUILD 202441 2013-12-21 23:13:17Z tomegun $
-# Maintainer: Tom Gundersen <teg@jklm.no>
+# $Id$
+# Maintainer: Sébastien "Seblu" Luttringer <seblu@archlinux.org>
+# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
pkgname=btrfs-progs
-pkgver=3.12
+pkgver=4.4
pkgrel=1
-pkgdesc="btrfs filesystem utilities"
-arch=(i686 x86_64)
-depends=('glibc' 'e2fsprogs' 'lzo2')
-makedepends=('git')
-url="http://btrfs.wiki.kernel.org/"
+pkgdesc='Btrfs filesystem utilities'
+arch=('i686' 'x86_64')
+depends=('glibc' 'libutil-linux' 'e2fsprogs' 'lzo' 'zlib')
+makedepends=('git' 'asciidoc' 'xmlto')
+url='http://btrfs.wiki.kernel.org/'
replaces=('btrfs-progs-unstable')
conflicts=('btrfs-progs-unstable')
provides=('btrfs-progs-unstable')
license=('GPL2')
-source=("git://git.kernel.org/pub/scm/linux/kernel/git/mason/${pkgname}.git#tag=v${pkgver}"
- initcpio-install-btrfs
- initcpio-hook-btrfs)
+source=("git://git.kernel.org/pub/scm/linux/kernel/git/kdave/$pkgname.git#tag=v$pkgver"
+ 'initcpio-install-btrfs'
+ 'initcpio-hook-btrfs'
+ 'btrfs-scrub@.service'
+ 'btrfs-scrub@.timer')
install=btrfs-progs.install
options=(!staticlibs)
+md5sums=('SKIP'
+ '7241ba3a4286d08da0d50b7176941112'
+ 'b09688a915a0ec8f40e2f5aacbabc9ad'
+ '794b867e09451284c545bae112aa0cfd'
+ 'a290e0ab88b7b4675cd20f5a2befc8cb')
build() {
- cd $pkgname
- make CFLAGS="$CFLAGS"
- make CFLAGS="$CFLAGS" btrfs-select-super
+ cd $pkgname
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd $pkgname
+ ./btrfs filesystem show
}
package() {
- cd $pkgname
+ cd $pkgname
+ make prefix="$pkgdir"/usr install
- make prefix=$pkgdir/usr install
- install -Dm755 btrfs-select-super $pkgdir/usr/bin
+ # install bash completion (FS#44618)
+ install -Dm644 btrfs-completion "$pkgdir/usr/share/bash-completion/completions/btrfs"
- # fix manpage
- mkdir -p $pkgdir/usr/share/
- mv $pkgdir/usr/man $pkgdir/usr/share/man
+ # install mkinitcpio hooks
+ cd "$srcdir"
+ install -Dm644 initcpio-install-btrfs "$pkgdir/usr/lib/initcpio/install/btrfs"
+ install -Dm644 initcpio-hook-btrfs "$pkgdir/usr/lib/initcpio/hooks/btrfs"
- # install mkinitcpio hooks
- install -Dm644 "$srcdir/initcpio-install-btrfs" \
- "$pkgdir/usr/lib/initcpio/install/btrfs"
- install -Dm644 "$srcdir/initcpio-hook-btrfs" \
- "$pkgdir/usr/lib/initcpio/hooks/btrfs"
+ # install scrub service/timer
+ install -Dm644 btrfs-scrub@.service "$pkgdir/usr/lib/systemd/system/btrfs-scrub@.service"
+ install -Dm644 btrfs-scrub@.timer "$pkgdir/usr/lib/systemd/system/btrfs-scrub@.timer"
}
-md5sums=('SKIP'
- '7241ba3a4286d08da0d50b7176941112'
- 'b09688a915a0ec8f40e2f5aacbabc9ad')
+
+# vim:set ts=2 sw=2 ft=sh et: