aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2017-07-02 14:42:15 +0000
committerTimo Teräs <timo.teras@iki.fi>2017-08-29 05:43:35 +0000
commitd2ebb75940bc1ce2f40e9600b0bd2378ce9151ef (patch)
tree23b02625166dda878062d8454cbc36061f5196aa
parentf39909dd7ee301df7218587bcc643c24490144dc (diff)
downloadaports-d2ebb75940bc1ce2f40e9600b0bd2378ce9151ef.tar.bz2
aports-d2ebb75940bc1ce2f40e9600b0bd2378ce9151ef.tar.xz
testing/xmessage: new aport
https://xorg.freedesktop.org/ Display a message or query in a window [TT: makedepend util-macros, add prepare(), fix configure paths]
-rw-r--r--testing/xmessage/APKBUILD36
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"