summaryrefslogtreecommitdiff
path: root/extra/xorg-xmessage/PKGBUILD
blob: 29f5d53aca9ff78b845c37be0c10e837d69d3546 (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
# $Id: PKGBUILD 151011 2012-02-24 13:16:39Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xmessage
pkgver=1.0.3
pkgrel=2
pkgdesc="Display a message or query in a window"
arch=(i686 x86_64 'mips64el')
url="http://xorg.freedesktop.org/"
license=('custom')
depends=('libxaw')
makedepends=('xorg-util-macros')
source=(http://xorg.freedesktop.org/archive/individual/app/xmessage-${pkgver}.tar.bz2)
sha1sums=('a8bfefbbe7785fa0e58ed4f596f4d79ba0b4d9b2')

build() {
  cd "${srcdir}/xmessage-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xmessage-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}