summaryrefslogtreecommitdiff
path: root/testing/nss-myhostname/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
committerroot <root@rshg054.dnsready.net>2012-10-24 01:50:39 -0700
commit120df4e0db159525806a9b33364483e76f9d51d3 (patch)
treeb78de64b601a46cc403d8663201bad6feb41c791 /testing/nss-myhostname/PKGBUILD
parent3c19af9355ba86a5b99d6e5a57ecaa68a7ea6e8e (diff)
Wed Oct 24 01:47:51 PDT 2012
Diffstat (limited to 'testing/nss-myhostname/PKGBUILD')
-rw-r--r--testing/nss-myhostname/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/nss-myhostname/PKGBUILD b/testing/nss-myhostname/PKGBUILD
new file mode 100644
index 000000000..18b582043
--- /dev/null
+++ b/testing/nss-myhostname/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 169556 2012-10-23 14:16:38Z tomegun $
+# Maintainer: Tom Gundersen <teg@jklm.no>
+# Contributor: Mantas M. <grawity@gmail.com>
+pkgname="nss-myhostname"
+pkgver=0.3
+pkgrel=3
+pkgdesc="NSS plugin providing host name resolution for the locally configured system hostname"
+arch=(i686 x86_64)
+url="http://0pointer.de/lennart/projects/nss-myhostname/"
+license=('LGPL2.1')
+depends=('glibc')
+groups=('base')
+source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-lynx
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+
+md5sums=('d4ab9ac36c053ab8fb836db1cbd4a48f')