From 900e6d2f97f78476c79145e63852eb369e394c22 Mon Sep 17 00:00:00 2001
From: "A. Wilcox" <AWilcox@Wilcox-Tech.com>
Date: Wed, 27 Apr 2022 23:18:37 -0500
Subject: system/slibtool: Provide libtool binary

---
 system/slibtool/APKBUILD | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/system/slibtool/APKBUILD b/system/slibtool/APKBUILD
index a1ac2142d..ce580824d 100644
--- a/system/slibtool/APKBUILD
+++ b/system/slibtool/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: A. Wilcox <awilfox@adelielinux.org>
 pkgname=slibtool
 pkgver=0.5.34
-pkgrel=0
+pkgrel=1
 pkgdesc="'Skinny' library support script"
 url="https://dev.midipix.org/cross/slibtool"
 arch="all"
@@ -10,6 +10,7 @@ license="MIT"
 depends=""
 makedepends="m4"
 subpackages=""
+provides="libtool"
 source="https://git.foss21.org/slibtool/snapshot/$pkgname-$pkgver.tar.xz"
 
 build() {
@@ -20,5 +21,7 @@ build() {
 
 package() {
 	make DESTDIR="$pkgdir" install
+	ln -s slibtool "$pkgdir"/usr/bin/libtool
 }
+
 sha512sums="62f976d4a05c8a6464679fc98fb8734914bb27bff9ababfcda24d7be9ff8c7d2cb43ad73569403593142059d115750d1fc45660d934f43eb5e0f206d8ed43dbe  slibtool-0.5.34.tar.xz"
-- 
cgit v1.2.3-70-g09d2