Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 2CF9D780E8C for <~alpine/aports@lists.alpinelinux.org>; Thu, 23 Dec 2021 02:07:31 +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=eletrotupi.com; s=default; t=1640224892; 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; bh=4NFbjABL2FqgneLhpYoPTcgNiSTmZ/geQ0rsyLIs7ys=; b=HrDHju9lPPs9n6G6UN5eUhU87kel+21rpN2SV2vhDsbgyFggYiPkCnMpV0FWF3YHYETRpz wnVCPzuy/esW0QRIn5pOQil7zmEqarOAAmhXvyo9yb1RN4Q1aCx2ZjzI+kTBYqKHnpErbX kQ7O1mkvfs74VPSidfaypaNuJJbE44Q= From: Pedro Lucas Porcellis To: ~alpine/aports@lists.alpinelinux.org Cc: Pedro Lucas Porcellis Subject: [PATCH] testing/libgrapheme: new aport Date: Wed, 22 Dec 2021 23:01:15 -0300 Message-Id: <20211223020115.5050-1-porcellis@eletrotupi.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: eletrotupi.com https://libs.suckless.org/libgrapheme/ The libgrapheme library provides functions to properly handle Unicode strings according to the Unicode specification. --- testing/libgrapheme/APKBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 testing/libgrapheme/APKBUILD diff --git a/testing/libgrapheme/APKBUILD b/testing/libgrapheme/APKBUILD new file mode 100644 index 0000000000..3b10716eb1 --- /dev/null +++ b/testing/libgrapheme/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Pedro Lucas Porcellis +pkgname=libgrapheme +pkgver=1 +pkgrel=0 +pkgdesc="grapheme cluster utility library" +url="https://libs.suckless.org/libgrapheme" +arch="all" +license="ISC" +makedepends="make" +subpackages="$pkgname-doc" +source="https://dl.suckless.org/libgrapheme/libgrapheme-$pkgver.tar.gz" + +prepare() { + default_prepare + sed -i 's|/usr/local|/usr|' config.mk +} + +build() { + make all +} + +check() { + make test +} + +package() { + make install PREFIX=/usr DESTDIR="$pkgdir" +} +sha512sums=" +c0f3300d30707266e44ee01f359204720ae1770788cec509b03be914f8581caae144fb72952d111f108ebef21fd96b5ca2cf69463ee569bce4bba8645942ee05 libgrapheme-1.tar.gz +" -- 2.34.1