summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 8 insertions, 16 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 77b23036253..977c98cc3a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
pkgname=ypbind-mt
-pkgver=2.4
-pkgrel=3
+pkgver=2.5
+pkgrel=1
pkgdesc='Linux NIS daemon'
url='https://github.com/thkukuk/ypbind-mt'
license=('GPL2')
@@ -15,32 +15,24 @@ arch=('i686' 'x86_64')
makedepends=('libxslt' 'libxml2' 'docbook-xml' 'docbook-xsl')
depends=('yp-tools' 'libsystemd')
backup=('etc/yp.conf')
-source=("$url/archive/$pkgname-$pkgver.tar.gz"
+source=("$url/releases/download/v$pkgver/ypbind-mt-$pkgver.tar.xz"
'ypbind.service'
- 'ypbind.conf'
- 'fixes.patch')
-
-prepare() {
- cd $pkgname-$pkgname-$pkgver
- patch -Np2 -b -z .orig <../fixes.patch
- ./autogen.sh
-}
+ 'ypbind.conf')
build() {
- cd $pkgname-$pkgname-$pkgver
+ cd $pkgname-$pkgver
./configure --prefix=/usr --sbindir=/usr/bin
make V=0
}
package() {
- cd $pkgname-$pkgname-$pkgver
+ 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=('11f09789cc8bb4d844798c3535c30208'
+md5sums=('86a724d30dd8d65f53a4de28b7344ca1'
'50e05f057ec0603243e3d334aaa0934f'
- '3d6a8eb44771f81abb47d14d9e4f301d'
- '17374b15cfa85bae36ee1948600821e6')
+ '3d6a8eb44771f81abb47d14d9e4f301d')