updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mingetty / PKGBUILD
blob3aad380d58c42b0fbfb7733c6311437ac49b6282
1 # Maintainer: Daniel Micay <danielmicay@gmail.com>
2 # Contributor: stonecrest <stonecrestATgmailDOTcom>
3 pkgname=mingetty
4 pkgver=1.08
5 pkgrel=3
6 pkgdesc="A minimal getty which allows automatic logins."
7 arch=('i686' 'x86_64')
8 url="http://sourceforge.net/projects/mingetty"
9 license=('GPL')
10 depends=('glibc')
11 md5sums=('2a75ad6487ff271424ffc00a64420990'
12          'b1bcb0668c34d4981e3acddc3990dfdb')
13 source=(http://downloads.sourceforge.net/sourceforge/mingetty/$pkgname-$pkgver.tar.gz
14         $pkgname-utf8.patch)
16 build() {
17   cd "$srcdir/$pkgname-$pkgver"
18   patch $pkgname.c ../$pkgname-utf8.patch
19   make
22 package() {
23   cd "$srcdir/$pkgname-$pkgver"
24   install -Dm755 $pkgname "$pkgdir/sbin/$pkgname"
25   install -Dm644 $pkgname.8 "$pkgdir/usr/share/man/man8/$pkgname.8"