Mail archive
alpine-aports

[alpine-aports] [PATCH 2/2] main/xrdb: build with cpp support

From: Sören Tempel <soeren+git_at_soeren-tempel.net>
Date: Wed, 30 Sep 2015 17:51:12 +0200

---
 main/xrdb/APKBUILD | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/main/xrdb/APKBUILD b/main/xrdb/APKBUILD
index d28fd5e..444b412 100644
--- a/main/xrdb/APKBUILD
+++ b/main/xrdb/APKBUILD
_at_@ -1,14 +1,18 @@
+# Contributor: Sören Tempel <soeren+alpine_at_soeren-tempel.net>
+# Contributor: Natanael Copa <ncopa_at_alpinelinux.org>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=xrdb
 pkgver=1.1.0
-pkgrel=0
+pkgrel=1
 pkgdesc="X server resource database utility"
 url="http://xorg.freedesktop.org/"
 arch="all"
 license="custom"
-subpackages="$pkgname-doc"
-depends=
+depends="mcpp"
+depends_dev=""
 makedepends="libxmu-dev libx11-dev"
+install=""
+subpackages="$pkgname-doc"
 source="http://xorg.freedesktop.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
 
 build () {
_at_@ -18,6 +22,9 @@ build () {
 		--host=$CHOST \
 		--prefix=/usr \
 		--mandir=/usr/share/man \
+		--infodir=/usr/share/info \
+		--localstatedir=/var \
+		--with-cpp=/usr/bin/mcpp \
 		|| return 1
 	make || return 1
 }
_at_@ -26,6 +33,7 @@ package() {
 	cd "$srcdir"/$pkgname-$pkgver
 	make DESTDIR="$pkgdir" install || return 1
 }
+
 md5sums="b54c7e3e53b4f332d41ed435433fbda0  xrdb-1.1.0.tar.bz2"
 sha256sums="73827b6bbfc9d27ca287d95a1224c306d7053cd7b8156641698d7dc541ca565b  xrdb-1.1.0.tar.bz2"
 sha512sums="8e2a177653d5aa895c71ed3640e0f1dd9fe8bf5cd6f0c6ff7e372394a2a41c3aa2286905fd9c69e3d140024d235b81a1f32b5d4012b1ac5ac1ed945599dee407  xrdb-1.1.0.tar.bz2"
-- 
2.6.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Sep 30 2015 - 17:51:12 GMT