blob: 54fef6d97d8523a4ca981fcb5e441b6460434535 (
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
|
# $Id: PKGBUILD 150778 2012-02-21 23:58:05Z tomegun $
# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Mantas M. <grawity@gmail.com>
pkgname="nss-myhostname"
pkgver=0.3
pkgrel=2.1
pkgdesc="NSS plugin providing host name resolution for the locally configured system hostname"
arch=(i686 x86_64 mips64el)
url="http://0pointer.de/lennart/projects/nss-myhostname/"
license=('LGPL2.1')
depends=('glibc')
source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz")
install=nss-myhostname.install
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')
|