diff options
Diffstat (limited to 'testing/xmessage/APKBUILD')
-rw-r--r-- | testing/xmessage/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/xmessage/APKBUILD b/testing/xmessage/APKBUILD new file mode 100644 index 0000000000..2f40d4091c --- /dev/null +++ b/testing/xmessage/APKBUILD @@ -0,0 +1,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" |