aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libxcvt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/libxcvt/APKBUILD')
-rw-r--r--testing/libxcvt/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/libxcvt/APKBUILD b/testing/libxcvt/APKBUILD
new file mode 100644
index 0000000000..47add871cd
--- /dev/null
+++ b/testing/libxcvt/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Milan P. Stanić <mps@arvanta.net>
+# Maintainer: Milan P. Stanić <mps@arvanta.net>
+pkgname=libxcvt
+pkgver=0.1.1
+pkgrel=0
+pkgdesc="xorg xcvt library and cvt program"
+url="https://gitlab.freedesktop.org/xorg/lib/libxcvt"
+arch="all"
+license="custom"
+makedepends="meson"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://xorg.freedesktop.org/releases/individual/lib/libxcvt-$pkgver.tar.xz"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=plain \
+ . output
+ meson compile ${JOBS:+-j ${JOBS}} -C output
+}
+
+check() {
+ meson test --no-rebuild -v -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install --no-rebuild -C output
+ install -D -m644 "$srcdir"/$pkgname-$pkgver/COPYING \
+ "$pkgdir"/usr/share/licenses/$pkgname/COPYING
+}
+
+sha512sums="
+50e9cd0283858823d4cfde75f06e23ffc42983272cb1f75408052fb5b76a4bb6f9de7d42d8ff9ec0dae6e95eefebc6273e03c919a92f237585db55eaf1a57005 libxcvt-0.1.1.tar.xz
+"