~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH v3] testing/tre: new aport

Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
Details
Message ID
<20201015012243.11289-1-alhassanaraouf@disroot.org>
DKIM signature
missing
Download raw message
Patch: +44 -0
https://laurikari.net/tre
POSIX compliant regexp matching library.
Includes agrep for approximate grepping.
---
fixed problem mentioned in pervious patch,

Thanks for you help and if anything could be better tell me

 testing/tre/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
 create mode 100644 testing/tre/APKBUILD

diff --git a/testing/tre/APKBUILD b/testing/tre/APKBUILD
new file mode 100644
index 0000000000..b5b9ed559d
--- /dev/null
+++ b/testing/tre/APKBUILD
@@ -0,0 +1,44 @@
# Contributor: Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
# Maintainer: Al-Hassan Abdel-Raouf <alhassanaraouf@disroot.org>
pkgname=tre
pkgver=0.8.0
pkgrel=0
pkgdesc="POSIX compliant regexp matching library. Includes agrep for approximate grepping."
url="https://laurikari.net/tre"
arch="all"
license="BSD-2-Clause"
subpackages="$pkgname-static $pkgname-doc $pkgname-dev"
source="https://laurikari.net/tre/tre-$pkgver.tar.bz2"


prepare() {
	default_prepare
	update_config_sub
}



build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-static
	make
}



package() {
	make DESTDIR="$pkgdir" install
}

static() {
	pkgdesc="$pkgdesc (static library)"

	mkdir -p "$subpkgdir"/usr/lib
	mv "$pkgdir"/usr/lib/*.a "$subpkgdir"/usr/lib
}


sha512sums="db7465993e0d25eee8e52f974427b8a040234cf0f017769eb94ee88bc6261821336aad7f762bfa82db7e2212d8449bc221592586f061c528a59a550773cbc263  tre-0.8.0.tar.bz2"
-- 
2.28.0
Reply to thread Export thread (mbox)