Subject: [PATCH v2] testing/9base: fix troff directory

From: Elaina Thompson <[email-masked]>
Date: Thu, 27 Jan 2022 10:00:33 -0800

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 <[email-masked]>
 # Maintainer: Joshua Haase <[email-masked]>
-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

---

From: mailinglist-bot <[email-masked]>
Date: Thu, 27 Jan 2022 18:09:54 -0000

Elaina Thompson <[email-masked]> replied via email:

```

 
-- 
2.34.1

```

-- 
via https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/28920#note_209925