summaryrefslogtreecommitdiff
path: root/community/fbgetty/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/fbgetty/PKGBUILD')
-rw-r--r--community/fbgetty/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/fbgetty/PKGBUILD b/community/fbgetty/PKGBUILD
new file mode 100644
index 000000000..77cc00f8e
--- /dev/null
+++ b/community/fbgetty/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 91856 2013-05-28 17:26:45Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=fbgetty
+pkgver=0.1.698
+pkgrel=5
+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 $srcdir/$pkgname-$pkgver
+
+ ./configure --prefix=/usr --mandir=/usr/share/man --sbindir=/usr/bin
+
+ patch src/options.c <<EOF
+33a34
+> #include <stddef.h>
+EOF
+
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+ mv ${pkgdir}/usr/info ${pkgdir}/usr/share/
+}