aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xmessage/APKBUILD
blob: 2f40d4091c5bca962b92643b1ec2aaefb2487efd (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: Taner Tas <taner76@gmail.com>
pkgname=xmessage
pkgver=1.0.4
pkgrel=0
pkgdesc="Display a message or query in a window"
url="https://xorg.freedesktop.org/"
arch="all"
license="GPL"
makedepends="libxaw-dev libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://xorg.freedesktop.org/archive/individual/app/${pkgname}-${pkgver}.tar.bz2"
options="!check"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="a087fb09595bf0b188a4525b45e9b607acd063cceae36c69c78a48674fb7eca1c82d5c2d2770c7f4425b499e4c002bfc0e377935308c218a330a2b4994b94ebd  xmessage-1.0.4.tar.bz2"