blob: 288f1768c494127e0cb015bc17fbab253c511730 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# vim: set et sw=2:
# Maintainer: Brian Bidulock <bidulock@openss7.org>
# Contributor: Tom Gundersen <teg@jklm.no>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ypbind-mt
pkgver=2.7.2
pkgrel=1
pkgdesc='Linux NIS daemon'
url='https://github.com/thkukuk/ypbind-mt'
license=('GPL2')
arch=('i686' 'x86_64')
makedepends=('libxslt' 'libxml2' 'docbook-xml' 'docbook-xsl')
depends=('yp-tools' 'libsystemd')
backup=('etc/yp.conf')
#source=("$url/releases/download/v$pkgver/ypbind-mt-$pkgver.tar.xz"
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
'ypbind.service'
'ypbind.conf')
prepare() {
cd $pkgname-$pkgver
./autogen.sh
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --sbindir=/usr/bin
make V=0
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
install -D -m644 etc/yp.conf "${pkgdir}"/etc/yp.conf
install -D -m644 ../ypbind.service "${pkgdir}"/usr/lib/systemd/system/ypbind.service
install -D -m644 ../ypbind.conf "${pkgdir}"/usr/lib/tmpfiles.d/ypbind.conf
}
md5sums=('18e83b9889b81481ca78002b54a67ba9'
'50e05f057ec0603243e3d334aaa0934f'
'3d6a8eb44771f81abb47d14d9e4f301d')
|