From defc1969c09990b29ce46261a86cd5c10db9d950 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sun, 20 Mar 2016 15:08:27 +0100 Subject: main/herbstluftwm: disable colors during build --- main/herbstluftwm/APKBUILD | 15 +++++++++------ main/herbstluftwm/no-colors.patch | 9 +++++++++ 2 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 main/herbstluftwm/no-colors.patch (limited to 'main/herbstluftwm') diff --git a/main/herbstluftwm/APKBUILD b/main/herbstluftwm/APKBUILD index bf4d3ea0a4..6ce888d549 100644 --- a/main/herbstluftwm/APKBUILD +++ b/main/herbstluftwm/APKBUILD @@ -16,7 +16,8 @@ subpackages=" $pkgname-doc $pkgname-bash-completion:bashcomp $pkgname-zsh-completion:zshcomp" -source="$url/tarballs/$pkgname-$pkgver.tar.gz" +source="$url/tarballs/$pkgname-$pkgver.tar.gz + no-colors.patch" _builddir="$srcdir"/$pkgname-$pkgver build() { @@ -25,8 +26,7 @@ build() { } package() { - cd "$_builddir" - make \ + make -C "$_builddir" \ PREFIX=/usr \ DESTDIR="$pkgdir" \ ZSHCOMPLETIONDIR=/usr/share/zsh/site-functions \ @@ -58,6 +58,9 @@ zshcomp() { mv "$pkgdir"/usr/share/zsh "$subpkgdir"/usr/share } -md5sums="2a4f05d113fd81ceda0246ba63288b05 herbstluftwm-0.7.0.tar.gz" -sha256sums="7e2ffc30b7911407230a5eeb61e044cea78557999107d372bc2dbc3d82d0ae27 herbstluftwm-0.7.0.tar.gz" -sha512sums="792e517dff5cfb075b8b5a42b076a7809e983953620212de6d571d3d606c573c83606a0f7694e25d3351c288473f5129191a416fe8977db8438c1016503eacd8 herbstluftwm-0.7.0.tar.gz" +md5sums="2a4f05d113fd81ceda0246ba63288b05 herbstluftwm-0.7.0.tar.gz +ddbffd2a03ec9ac070b2fa53d1b0f2b8 no-colors.patch" +sha256sums="7e2ffc30b7911407230a5eeb61e044cea78557999107d372bc2dbc3d82d0ae27 herbstluftwm-0.7.0.tar.gz +ab9d263c87f951b85bd556b6ab30ec2ba8e7f5cb306007e22c196a3aaf207014 no-colors.patch" +sha512sums="792e517dff5cfb075b8b5a42b076a7809e983953620212de6d571d3d606c573c83606a0f7694e25d3351c288473f5129191a416fe8977db8438c1016503eacd8 herbstluftwm-0.7.0.tar.gz +4b625af6d9f2efa471094226af1ecaa8fff51f9c07cd2057157a8837397d92514a4d167de9a24e302cdd929deef2d62ad5d22f6f823822ab132c6fce052fd64c no-colors.patch" diff --git a/main/herbstluftwm/no-colors.patch b/main/herbstluftwm/no-colors.patch new file mode 100644 index 0000000000..3d72ea1764 --- /dev/null +++ b/main/herbstluftwm/no-colors.patch @@ -0,0 +1,9 @@ +diff -upr herbstluftwm-0.7.0.orig/config.mk herbstluftwm-0.7.0/config.mk +--- herbstluftwm-0.7.0.orig/config.mk 2016-03-20 15:07:02.692788687 +0100 ++++ herbstluftwm-0.7.0/config.mk 2016-03-20 15:07:21.326066596 +0100 +@@ -61,4 +61,4 @@ RMDIR = rmdir + VERBOSE = @ + + # Set this to 0 to disable colors +-COLOR = 1 ++COLOR = 0 -- cgit v1.2.3