Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 42CE9781124 for ; Thu, 27 Jan 2022 18:09:47 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ulthar.cat; s=key1; t=1643306622; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=izyLpzPG+YCwk/WYKeloBTbT/bAf9TxH6ylzThrcGvo=; b=iT/QsbYutVyf21ISPJm1rq6yTYVbTwIHzgSFEzRLK7A7hIr4O6RIJutOgKT5Jq0Xtsug+w 8kk/x9CXFzSWPpQG7S5N1MiIlDObsIaPyGpg8OffbZFzdQasi5SyCBcmbd5WeuyZTRTVyW 83V4rwsXgo8FtV8oN74pUovFWq+uTxA= From: Elaina Thompson To: alpine-aports@lists.alpinelinux.org Cc: Elaina Thompson Subject: [PATCH v2] testing/9base: fix troff directory Date: Thu, 27 Jan 2022 10:00:33 -0800 Message-Id: <20220127180032.11025-1-felinae@ulthar.cat> In-Reply-To: <164324702761.985.1250223049728674565.gitlab.28920.c31feae4ca246a80638a0ee92aad49fab648f01c@listserv.local> References: <164324702761.985.1250223049728674565.gitlab.28920.c31feae4ca246a80638a0ee92aad49fab648f01c@listserv.local> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: ulthar.cat as is, the troff directory gets placed in the incorrect place due to mkdir already creating the directory. this should fix that behavior. Ps: first patch (anywhere) apologies if anything is wrong or sloppy --- Changes v1 -> v2 - increment pkgrel - remove quotes in pkgname to resolve linting error testing/9base/APKBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/9base/APKBUILD b/testing/9base/APKBUILD index 9d77b93e46..f5ab3d70ad 100644 --- a/testing/9base/APKBUILD +++ b/testing/9base/APKBUILD @@ -1,8 +1,8 @@ # Contributor: Joshua Haase # Maintainer: Joshua Haase -pkgname="9base" +pkgname=9base pkgver=6 -pkgrel=0 +pkgrel=1 pkgdesc="A port of various Plan 9 tools for Unix." url="https://tools.suckless.org/9base/" arch="all !armv7 !armhf !aarch64 !mips !mips64" # Needs arch specific config.mk @@ -47,7 +47,7 @@ troff() { cd "$pkgdir" mkdir -p "$subpkgdir/usr/lib/9base/bin" mv "$pkgdir/usr/lib/9base/bin/troff" "$subpkgdir/usr/lib/9base/bin/troff" - mkdir -p "$subpkgdir/usr/lib/9base/lib/troff" + mkdir -p "$subpkgdir/usr/lib/9base/lib" mv "$pkgdir/usr/lib/9base/lib/troff" "$subpkgdir/usr/lib/9base/lib/troff" } -- 2.34.1