summaryrefslogtreecommitdiff
path: root/pcr/gxmessage-gtk2/PKGBUILD
blob: c2cf711e16a34458d5f463db25c4ca76c4cf56b6 (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
33
34
35
36
# Maintainer (Arch): Brian Bidulock <bidulock@openss7.org>
# Contributor (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor (Arch): Geoffroy Carrier <geoffroy.carrier@koon.fr>
# Contributor (Arch): Jaroslav Lichtblau <tu@dragonlord.cz>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

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

build() {
  cd "$srcdir/$_pkgname-$pkgver"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$_pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  install -D -m644 "$srcdir/$_pkgname.desktop" \
    "${pkgdir}/usr/share/applications/$_pkgname.desktop"
}