diff options
author | Milan P. Stanić <mps@arvanta.net> | 2021-10-28 10:43:16 +0000 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2021-10-28 10:43:16 +0000 |
commit | 7fa800695de0ce29fbf5187ec31c7e0d7b13734f (patch) | |
tree | 60752300c8249feacffe037c2474db38539b83da /community | |
parent | 84fae10391a09f2570d8793daa8c2b41eec92919 (diff) | |
download | aports-7fa800695de0ce29fbf5187ec31c7e0d7b13734f.tar.gz aports-7fa800695de0ce29fbf5187ec31c7e0d7b13734f.tar.bz2 aports-7fa800695de0ce29fbf5187ec31c7e0d7b13734f.tar.xz |
community/libxcvt: move from testing
Diffstat (limited to 'community')
-rw-r--r-- | community/libxcvt/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/libxcvt/APKBUILD b/community/libxcvt/APKBUILD new file mode 100644 index 0000000000..47add871cd --- /dev/null +++ b/community/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 +" |