summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/gucharmap/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/gucharmap/APKBUILD b/user/gucharmap/APKBUILD
new file mode 100644
index 000000000..9a3d7bfcf
--- /dev/null
+++ b/user/gucharmap/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=gucharmap
+pkgver=12.0.1
+_unicode=12.0.0
+pkgrel=0
+pkgdesc="Unicode utility for the Gnome desktop environment"
+url="https://gnome.org"
+arch="all"
+license="GPL-3.0+"
+depends=""
+makedepends="desktop-file-utils gobject-introspection-dev gtk+3.0-dev intltool
+ itstool libxml2-utils unicode-data"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/gucharmap/${pkgver%.*}/gucharmap-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --with-unicode-data=/usr/share/unicode/$_unicode
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="989034350c73c3f1857167f434aa4a5c140ef7574cb799b874e421a8d0c2bf520dfcee85bc0cf8e52f439fb7d30e0db5172a25c107c80b38ce6da4e703a3ffc2 gucharmap-12.0.1.tar.xz"