diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-08 11:30:39 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-05-08 11:30:39 -0300 |
commit | 0f0bf3b7f0398f0882fa5b7cc3534180cabd9318 (patch) | |
tree | 968fcbe1bf470403a1ef1f4c261c0f1e8cf6b022 /extra/quota-tools | |
parent | e17d7021b82d5a27e1a236d14dd7a8567669e273 (diff) | |
parent | fe6dc99352fe2b801d251e55b2b8baa71441908e (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
extra/fyre/PKGBUILD
extra/gnet/PKGBUILD
extra/kdeedu/PKGBUILD
extra/mhash/PKGBUILD
extra/rxvt-unicode/PKGBUILD
Diffstat (limited to 'extra/quota-tools')
-rw-r--r-- | extra/quota-tools/PKGBUILD | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/extra/quota-tools/PKGBUILD b/extra/quota-tools/PKGBUILD index 3d62ae767..4dd303717 100644 --- a/extra/quota-tools/PKGBUILD +++ b/extra/quota-tools/PKGBUILD @@ -1,10 +1,9 @@ -# $Id: PKGBUILD 23363 2009-01-08 00:26:14Z eric $ -# Maintainer: Eric Belanger <eric@archlinux.org> -# Contributor: Judd <judd@archlinux.org> +# $Id: PKGBUILD 122880 2011-05-07 02:23:54Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> pkgname=quota-tools pkgver=3.17 -pkgrel=1 +pkgrel=2 pkgdesc="Tools to manage kernel-level quotas in Linux" arch=('i686' 'x86_64' 'mips64el') url="http://sourceforge.net/projects/linuxquota/" @@ -13,20 +12,23 @@ depends=('e2fsprogs' 'tcp_wrappers') backup=('etc/warnquota.conf' 'etc/quotatab' 'etc/quotagrpadmins') options=('!emptydirs') source=(http://downloads.sourceforge.net/sourceforge/linuxquota/quota-${pkgver}.tar.gz LICENSE) -md5sums=('cb3e98a039c0cf98e7c1ad4b50a5bda7' 'dd792440e684043e4e4ef80963d0237b') -sha1sums=('8dc04ea803a43496dfe275a8260757f558a2d762' '57297bdc9e638c500506169bbbe12eb89bcf7d07') +md5sums=('cb3e98a039c0cf98e7c1ad4b50a5bda7' + 'dd792440e684043e4e4ef80963d0237b') +sha1sums=('8dc04ea803a43496dfe275a8260757f558a2d762' + '57297bdc9e638c500506169bbbe12eb89bcf7d07') build() { - cd ${srcdir}/${pkgname} - ./configure --prefix=/usr --sysconfdir=/etc || return 1 - make || return 1 - make ROOTDIR=${pkgdir} install || return 1 - install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1 + cd "${srcdir}/${pkgname}" + ./configure --prefix=/usr --sysconfdir=/etc + make +} + +package() { + cd "${srcdir}/${pkgname}" + make ROOTDIR="${pkgdir}" install + install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - # remove conflicts - # glibc - rm ${pkgdir}/usr/include/rpcsvc/rquota.h || return 1 - rm ${pkgdir}/usr/include/rpcsvc/rquota.x || return 1 - # man-pages - rm ${pkgdir}/usr/share/man/man2/quotactl.2 || return 1 +# remove conflicts with glibc and man-pages + rm "${pkgdir}"/usr/include/rpcsvc/rquota.{h,x} + rm "${pkgdir}/usr/share/man/man2/quotactl.2" } |