summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorIru Cai2015-07-08 20:44:38 +0800
committerIru Cai2015-07-08 20:44:38 +0800
commite2c0a2b888614d23a50050951253bea2343423d6 (patch)
tree8bd3a2af495510977e95d332ff85574dc35b05bf
downloadaur-e2c0a2b888614d23a50050951253bea2343423d6.tar.gz
initial commit
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
-rw-r--r--screen-message.install12
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..f1c1e4f1194
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = screen-message
+ pkgdesc = Displays a short text fullscreen as large and as quickly as possible.
+ pkgver = 0.23
+ pkgrel = 1
+ url = http://www.joachim-breitner.de/projects
+ install = screen-message.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ depends = gtk3
+ source = http://www.joachim-breitner.de/archive/screen-message/screen-message-0.23.tar.gz
+ md5sums = 6e9793e40ab4f266840fea7064e93891
+
+pkgname = screen-message
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..345cf0fde68
--- /dev/null
+++ b/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.23
+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=('gtk3')
+install="$pkgname.install"
+source=("http://www.joachim-breitner.de/archive/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('6e9793e40ab4f266840fea7064e93891')
+
+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/screen-message.install b/screen-message.install
new file mode 100644
index 00000000000..bce670aff4a
--- /dev/null
+++ b/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
+}