mirror_zfs/PKGBUILD-zfs.in
Brian Behlendorf 48c028f5a5 Replace libexecdir with datadir
According to the FHS.  Testing scripts and examples which are all
architecture independent should be installed in a subdirectory
under /usr/share.

  http://www.pathname.com/fhs/2.2/fhs-4.11.html

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
2013-03-06 15:46:40 -08:00

27 lines
744 B
Plaintext

# Maintainer: Prakash Surya <surya1@llnl.gov>
pkgname=@ZFS_META_NAME@
pkgver=@ZFS_META_VERSION@
pkgrel=@ZFS_META_RELEASE@
pkgdesc="Contains the libzfs library and support utilities for the zfs file system."
arch=(x86_64)
url="git://github.com/zfsonlinux/zfs.git"
license=(@ZFS_META_LICENSE@)
depends=('spl' 'zlib' 'e2fsprogs')
source=(@ZFS_META_NAME@-@ZFS_META_VERSION@.tar.gz)
build() {
cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
./configure --with-config=user \
--prefix=/ \
--sysconfdir=/etc \
--datadir=/usr/share \
--includedir=/usr/include \
--with-udevdir=/lib/udev
make
}
package() {
cd $srcdir/@ZFS_META_NAME@-@ZFS_META_VERSION@
make DESTDIR=$pkgdir install
}