summaryrefslogtreecommitdiff
path: root/community/gxmessage/PKGBUILD
blob: afc4f56e9f524b67275787fe72bd0380196dac0f (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
# $Id: PKGBUILD 20450 2010-07-08 10:59:33Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor: Jaroslav Lichtblau <tu@dragonlord.cz>

pkgname=gxmessage
pkgver=2.12.4
pkgrel=1
pkgdesc="A GTK2 based xmessage clone."
arch=('i686' 'x86_64')
url="http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
license=('GPL')
depends=('gtk2' 'desktop-file-utils')
makedepends=('pkgconfig')
install=$pkgname.install
source=(http://homepages.ihug.co.nz/~trmusson/stuff/$pkgname-$pkgver.tar.gz
        $pkgname.desktop)
md5sums=('7c94c714ebedbfa2db2d645cc4a4092a'
         'af92506581c1aae70e3845a66a983f22')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./configure --prefix=/usr --mandir=/usr/share/man || return 1
  make || return 1
  make DESTDIR="$pkgdir" install || return 1
  install -D -m644 "$srcdir/$pkgname.desktop" \
    "${pkgdir}/usr/share/applications/$pkgname.desktop"
}