updated on Thu Jan 12 20:00:29 UTC 2012
[aur-mirror.git] / rungetty / PKGBUILD
blobcabe6a9f6c8bf8d1a2d084a553b1bca480c11ac3
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: chochem <chochem@gmail.com>
7 pkgname=rungetty
8 pkgver=1.2.orig
9 pkgrel=1
10 pkgdesc="rungetty takes command of a virtual console and runs any program on it."
11 arch=(i686)
12 url="http://linux.maruhn.com/sec/rungetty.html"
13 license=('GPL')
14 depends=(glibc)
15 makedepends=(glibc)
16 source=(ftp://ftp.gnome.org/mirror/ubuntu/pool/universe/r/rungetty/${pkgname}_${pkgver}.tar.gz)
17 md5sums=('acca2a8a6a06b1474e199c30cf556b9c')
19 build() {
20   cd "$srcdir/$pkgname-$pkgver"
21   make || return 1
22   mv Makefile Makefile.old
23   sed -e s/\$\(ROOT\)/pkg/g Makefile.old > Makefile
24   make install 
25   mv pkg "$startdir"