summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/screen-message/PKGBUILD29
-rw-r--r--pcr/screen-message/screen-message.install12
2 files changed, 41 insertions, 0 deletions
diff --git a/pcr/screen-message/PKGBUILD b/pcr/screen-message/PKGBUILD
new file mode 100644
index 000000000..ea929bd0b
--- /dev/null
+++ b/pcr/screen-message/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer : speps <speps at aur dot archlinux dot org>
+# Contributor: Andrew LeCain dread@csh.rit.edu
+
+pkgname=screen-message
+pkgver=0.20
+pkgrel=1
+pkgdesc="Displays a short text fullscreen as large and as quickly as possible."
+arch=('i686' 'x86_64')
+url="http://www.joachim-breitner.de/projects"
+license=('GPL')
+depends=('gtk2' 'hicolor-icon-theme')
+install="$pkgname.install"
+source=("http://www.joachim-breitner.de/archive/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('8c9ce8630bcf86017e5e4396ca056627')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # install to /usr/bin
+ sed -i "s|/games|/bin|g" Makefile.*
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/screen-message/screen-message.install b/pcr/screen-message/screen-message.install
new file mode 100644
index 000000000..bce670aff
--- /dev/null
+++ b/pcr/screen-message/screen-message.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}