diff options
Diffstat (limited to 'community/fbgetty/PKGBUILD')
-rw-r--r-- | community/fbgetty/PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/community/fbgetty/PKGBUILD b/community/fbgetty/PKGBUILD new file mode 100644 index 000000000..67d344aa9 --- /dev/null +++ b/community/fbgetty/PKGBUILD @@ -0,0 +1,29 @@ +# $Id: PKGBUILD 6846 2009-12-24 11:41:28Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=fbgetty +pkgver=0.1.698 +pkgrel=3 +license=("GPL") +pkgdesc="fbgetty is a console getty like mingetty, which supports framebuffers" +arch=('i686' 'x86_64') +url="http://projects.meuh.org/fbgetty" +source=('http://projects.meuh.org/fbgetty/downloads/fbgetty-'$pkgver'.tar.gz') +md5sums=('1705bc0f8f1e03fe50d324ba84ac4e56') + +build () +{ + cd $startdir/src/$pkgname-$pkgver + + ./configure --prefix=/usr --mandir=/usr/share/man + + patch src/options.c <<EOF +33a34 +> #include <stddef.h> +EOF + + make || return 1 + make DESTDIR=$startdir/pkg install + + mv ${pkgdir}/usr/info ${pkgdir}/usr/share/ +} |