diff options
author | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:37:34 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-08-07 17:37:34 (GMT) |
commit | f256562a1694548609d6437f06d62a8b092a5330 (patch) | |
tree | ac6e4d98630f85028c8ad884d4b828a346964b56 /abs/core/mkinitcpio-nfs-utils/PKGBUILD | |
parent | 44e7607393e9b20430485092662790ecca3ebbf7 (diff) | |
download | linhes_pkgbuild-f256562a1694548609d6437f06d62a8b092a5330.zip linhes_pkgbuild-f256562a1694548609d6437f06d62a8b092a5330.tar.gz linhes_pkgbuild-f256562a1694548609d6437f06d62a8b092a5330.tar.bz2 |
mkinitcpio-nfs-utils .3
Diffstat (limited to 'abs/core/mkinitcpio-nfs-utils/PKGBUILD')
-rw-r--r-- | abs/core/mkinitcpio-nfs-utils/PKGBUILD | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/abs/core/mkinitcpio-nfs-utils/PKGBUILD b/abs/core/mkinitcpio-nfs-utils/PKGBUILD index 962bb33..70166e1 100644 --- a/abs/core/mkinitcpio-nfs-utils/PKGBUILD +++ b/abs/core/mkinitcpio-nfs-utils/PKGBUILD @@ -1,23 +1,29 @@ -# $Id: PKGBUILD 68748 2010-02-14 10:45:02Z thomas $ +# $Id: PKGBUILD 160392 2012-06-01 13:21:36Z dreisner $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=mkinitcpio-nfs-utils -pkgver=0.2 -pkgrel=1 +pkgver=0.3 +pkgrel=3 pkgdesc="ipconfig and nfsmount tools for NFS root support in mkinitcpio" arch=('i686' 'x86_64') url="http://www.archlinux.org/" license=('GPL2') depends=('glibc') -source=(ftp://ftp.archlinux.org/other/mkinitcpio/${pkgname}-${pkgver}.tar.gz) -sha256sums=('3f2839f21a420cd732d34e58f84534acdb7fc29f69381dbba3f00e3424201cd3') +source=("ftp://ftp.archlinux.org/other/mkinitcpio/$pkgname-$pkgver.tar.xz" + 'initcpio-install-net' + 'initcpio-hook-net') +sha256sums=('d290d489844fae100ca7b848b8eef40078124ff373203086bacc07329d1e8939' + '8e5ddaacb0e5751e432f95870958c5fa2e01e1ab3f55b5eca2b8b2d030b5d861' + '29a5a4a9ebd61bfa1afbb8dcaf2187e487ee1f34b1979a85a853fa2acbeb510e') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - make || return 1 + make -C "$pkgname-$pkgver" } package() { - cd "$srcdir/${pkgname}-${pkgver}" - make DESTDIR="${pkgdir}" install + make -C "$pkgname-$pkgver" DESTDIR="$pkgdir" install + + # override hooks, they need updates + install -m644 "$srcdir/initcpio-install-net" "$pkgdir/usr/lib/initcpio/install/net" + install -m644 "$srcdir/initcpio-hook-net" "$pkgdir/usr/lib/initcpio/hooks/net" } |