[arch-commits] Commit in (dhcping dhcping/repos dhcping/trunk dhcping/trunk/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue May 15 21:24:56 UTC 2018
Date: Tuesday, May 15, 2018 @ 21:24:55
Author: anthraxx
Revision: 322527
upgpkg: dhcping 1.2-2
Added:
dhcping/
dhcping/repos/
dhcping/trunk/
dhcping/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Added: dhcping/trunk/PKGBUILD
===================================================================
--- dhcping/trunk/PKGBUILD (rev 0)
+++ dhcping/trunk/PKGBUILD 2018-05-15 21:24:55 UTC (rev 322527)
@@ -0,0 +1,37 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: enzzzzy <enzzzzy ta gmail dot com>
+
+pkgname=dhcping
+pkgver=1.2
+pkgrel=2
+pkgdesc='Small tool to let you perform a dhcp-request to find out if a dhcp-server is still running'
+url='http://www.mavetju.org/unix/general.php'
+arch=('x86_64')
+license=('BSD')
+depends=('glibc')
+source=(http://www.mavetju.org/download/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('32ef86959b0bdce4b33d4b2b216eee7148f7de7037ced81b2116210bc7d3646a')
+sha512sums=('84ead27ba07f7ecc1e8cf6d95b40c98ee20a39ce54386249f403120beac70c45d765d5268b4968dbfbbb92790adcc1eb648c3a87071d215ad64bcd23aec818d3')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --prefix=/usr \
+ --build=${CHOST} \
+ --host=${CHOST} \
+ --mandir=/usr/share/man
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package () {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list