[arch-commits] Commit in dhcping/repos (community-x86_64 community-x86_64/PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Tue May 15 21:25:25 UTC 2018
Date: Tuesday, May 15, 2018 @ 21:25:24
Author: anthraxx
Revision: 322528
archrelease: copy trunk to community-x86_64
Added:
dhcping/repos/community-x86_64/
dhcping/repos/community-x86_64/PKGBUILD
(from rev 322527, dhcping/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: dhcping/repos/community-x86_64/PKGBUILD (from rev 322527, dhcping/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-05-15 21:25:24 UTC (rev 322528)
@@ -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