summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-09 19:30:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-09 19:30:40 -0300
commita9f984fdad1ebd819412fa8a81f0e33dc64f76b3 (patch)
treedebb10f2ba652027f5c29aacb2d9b22fdfe441bd /pcr
parent106826ff042badc4f66a6bf0fbc2daf462ad30c0 (diff)
downloadabslibre-a9f984fdad1ebd819412fa8a81f0e33dc64f76b3.tar.gz
abslibre-a9f984fdad1ebd819412fa8a81f0e33dc64f76b3.tar.bz2
abslibre-a9f984fdad1ebd819412fa8a81f0e33dc64f76b3.zip
screen-message: add new package to [pcr]
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
+}