updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / chname / PKGBUILD
blob1bfc895108feed26d15b1fb8f68c1703f5670961
1 # Contributor: Maciej Sitarz <macieks@freesco.pl>
3 pkgname=chname
4 pkgver=1.0
5 pkgrel=1
6 pkgdesc="Run a command in a utsname namespace with a new hostname."
7 arch=('i686' 'x86_64')
8 url="http://code.google.com/p/chname"
9 license=('GPL')
10 depends=('glibc')
11 source=("http://chname.googlecode.com/files/$pkgname-$pkgver.tar.gz")
12 md5sums=('63ac65ae3ded2e2bcfcf62dd5387462a')
14 build() {
15  cd ${srcdir}/${pkgname}-${pkgver}
17  make || return 1
18  strip ${pkgname} || return 1
20  install -D -m755 ${pkgname} ${pkgdir}/usr/bin/${pkgname} || return 1