aboutsummaryrefslogtreecommitdiffstats
path: root/main/xrdb/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-09-09 01:39:03 -0500
committerNatanael Copa <ncopa@alpinelinux.org>2017-09-19 10:54:40 +0000
commit461c366e1804b383fff86dbd67f7cad1a4180543 (patch)
tree8499c69693feed1ff4cba2a9b55cf581a8d728bf /main/xrdb/APKBUILD
parent0bed3172239f5d1ef3e5614aedcf43f0b1ca2ac6 (diff)
downloadaports-461c366e1804b383fff86dbd67f7cad1a4180543.tar.gz
aports-461c366e1804b383fff86dbd67f7cad1a4180543.tar.bz2
aports-461c366e1804b383fff86dbd67f7cad1a4180543.tar.xz
main/xrdb: modernise, mark as having no test suite
Diffstat (limited to 'main/xrdb/APKBUILD')
-rw-r--r--main/xrdb/APKBUILD16
1 files changed, 8 insertions, 8 deletions
diff --git a/main/xrdb/APKBUILD b/main/xrdb/APKBUILD
index d252dc3fe1..804c5cc083 100644
--- a/main/xrdb/APKBUILD
+++ b/main/xrdb/APKBUILD
@@ -3,20 +3,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xrdb
pkgver=1.1.0
-pkgrel=1
+pkgrel=2
pkgdesc="X server resource database utility"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
+options="!check" # No test suite.
depends="mcpp"
depends_dev=""
-makedepends="libxmu-dev libx11-dev"
+makedepends="libxmu-dev libx11-dev util-macros"
install=""
subpackages="$pkgname-doc"
source="http://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
build () {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -24,14 +25,13 @@ build () {
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
- --with-cpp=/usr/bin/mcpp \
- || return 1
- make || return 1
+ --with-cpp=/usr/bin/mcpp
+ make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
md5sums="b54c7e3e53b4f332d41ed435433fbda0 xrdb-1.1.0.tar.bz2"