summaryrefslogtreecommitdiff
path: root/extra/yp-tools/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/yp-tools/PKGBUILD')
-rw-r--r--extra/yp-tools/PKGBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/extra/yp-tools/PKGBUILD b/extra/yp-tools/PKGBUILD
index ca81d3f20..4d0c167c0 100644
--- a/extra/yp-tools/PKGBUILD
+++ b/extra/yp-tools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 184213 2013-05-03 22:54:47Z tomegun $
+# $Id: PKGBUILD 187079 2013-06-03 11:17:12Z allan $
# Mantainer: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: dorphell <dorphell@archlinux.org>
@@ -6,7 +6,7 @@
pkgname=yp-tools
pkgver=2.14
-pkgrel=2
+pkgrel=3
pkgdesc='Linux NIS Tools'
arch=('i686' 'x86_64' 'mips64el')
url='http://www.linux-nis.org/nis/yp-tools/'
@@ -29,6 +29,10 @@ package() {
make DESTDIR="$pkgdir" install
install -D -m644 ../domainname.conf "${pkgdir}/etc/nisdomainname"
install -D -m644 ../domainname.service "${pkgdir}/usr/lib/systemd/system/domainname.service"
+ # usrmove
+ cd "$pkgdir"
+ mv usr/sbin/* usr/bin
+ rmdir usr/sbin
}
md5sums=('ba1f121c17e3ad65368be173b977cd13'
'5a78cd2218936241133e5f61383a2dc8'