aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libutf8/PKGBUILD29
l---------libutf8/upload1
2 files changed, 30 insertions, 0 deletions
diff --git a/libutf8/PKGBUILD b/libutf8/PKGBUILD
new file mode 100644
index 0000000..3213da6
--- /dev/null
+++ b/libutf8/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Mattias Andrée <m@`base64 -d`(bWFhbmRyZWU).se>
+
+pkgname=libutf8
+pkgver=1.0
+pkgrel=1
+pkgdesc="UTF-8 encoding and decoding library"
+arch=(i686 x86_64 aarch64)
+url="https://codeberg.org/maandree/libutf8"
+license=('ISC')
+depends=()
+makedepends=()
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz)
+sha256sums=(8ed3e6c3501450cf879f9eb09d12305bed965256f542407cb3d6e5664c8ddd4d)
+
+
+build() {
+ cd "$srcdir/$pkgname"
+ make PREFIX=/usr
+}
+
+check() {
+ cd "$srcdir/$pkgname"
+ make check
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+}
diff --git a/libutf8/upload b/libutf8/upload
new file mode 120000
index 0000000..1e7a8be
--- /dev/null
+++ b/libutf8/upload
@@ -0,0 +1 @@
+../upload \ No newline at end of file