aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Lucas Porcellis <porcellis@eletrotupi.com>2021-12-23 00:33:13 -0300
committerdispatch <dispatch@listserv.local>2021-12-23 03:33:25 +0000
commitb33284c979344d7a596324d3ff4ed634221b0016 (patch)
treec0143973086e7657b1690ef337fe7be469509456
parent9a9a8e9fd61c8562d4b4ab85e12f8d093c1ff616 (diff)
downloadaports-patches/3833.tar.gz
aports-patches/3833.tar.bz2
aports-patches/3833.tar.xz
testing/libgrapheme: new aportpatches/3833
https://libs.suckless.org/libgrapheme The libgrapheme library provides functions to properly handle Unicode strings according to the Unicode specification.
-rw-r--r--testing/libgrapheme/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/libgrapheme/APKBUILD b/testing/libgrapheme/APKBUILD
new file mode 100644
index 0000000000..37002cc752
--- /dev/null
+++ b/testing/libgrapheme/APKBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
+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 $pkgname-dev"
+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
+"