summaryrefslogtreecommitdiff
path: root/core/btrfs-progs-unstable/PKGBUILD
blob: 12699158afea14f999102defb954d5e60afe8277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 142300 2011-11-08 06:06:06Z tomegun $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=btrfs-progs-unstable
pkgver=0.19.20101006
pkgrel=2.1
pkgdesc="btrfs filesystem utilities"
arch=(i686 x86_64 'mips64el')
depends=('glibc' 'e2fsprogs')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2)
url="http://btrfs.wiki.kernel.org/"
license=('GPL2')

build() {
   cd $srcdir/$pkgname
   make CFLAGS="$CFLAGS" all convert
}

package() {
   cd $srcdir/$pkgname
   make prefix=$pkgdir/usr bindir=$pkgdir/sbin install
   # fix manpage
   mkdir -p $pkgdir/usr/share/
   mv $pkgdir/usr/man $pkgdir/usr/share/man
}
md5sums=('6bce610ed1720e6b9dc9fa96cbd8b73e')