summaryrefslogtreecommitdiff
path: root/pcr/screen-message/PKGBUILD
blob: 6abfcd87707c87eb590ce328ec86aba715ed67f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer  (AUR): speps <speps at aur dot archlinux dot org>
# Contributor (AUR): Andrew LeCain dread@csh.rit.edu

# parabola changes and rationale:
#  - added .install file to update desktop database

pkgname=screen-message
pkgver=0.25
pkgrel=1
pkgdesc="Displays a short text fullscreen as large and as quickly as possible."
arch=('i686' 'x86_64' 'armv7h')
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")
sha256sums=('60291a493a6e30714c8704c614b37ef94621a917c3a9fa290800df82712989d3')

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
}