summaryrefslogtreecommitdiff
path: root/core/reiserfsprogs/PKGBUILD
blob: 6b7beb8f65077ff11da05f727ce4eb500ede1ee1 (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
26
27
28
29
# $Id: PKGBUILD 102064 2010-12-04 10:58:12Z allan $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>

pkgname=reiserfsprogs
pkgver=3.6.21
pkgrel=3
pkgdesc="Reiserfs utilities"
arch=('i686' 'x86_64')
url="http://www.kernel.org/pub/linux/utils/fs/reiserfs/README"
license=('GPL')
groups=('base')
depends=('util-linux-ng>=2.16')
source=(http://www.kernel.org/pub/linux/utils/fs/reiserfs/reiserfsprogs-${pkgver}.tar.bz2)
md5sums=('0639cefac8f8150536cfa7531c2aa2d2')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --sbindir=/sbin
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install

  ln -s reiserfsck "${pkgdir}/sbin/fsck.reiserfs"
  ln -s mkreiserfs "${pkgdir}/sbin/mkfs.reiserfs"
}