diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-08-13 22:27:54 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-08-15 18:23:33 -0300 |
commit | 205db9b58d01646946ba47429996e3bb19c429ef (patch) | |
tree | cfda790475c86b681aac2e9248c8f67d59edc19d /testing/tau | |
parent | 39b51cfcf223d8a92b56f3c884d41dcc190924ee (diff) | |
download | aports-205db9b58d01646946ba47429996e3bb19c429ef.tar.bz2 aports-205db9b58d01646946ba47429996e3bb19c429ef.tar.xz |
testing/tau: new aport
Diffstat (limited to 'testing/tau')
-rw-r--r-- | testing/tau/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/tau/APKBUILD b/testing/tau/APKBUILD new file mode 100644 index 0000000000..122cad1a66 --- /dev/null +++ b/testing/tau/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=tau +pkgver=0.9.1 +pkgrel=0 +pkgdesc="GTK frontend for the Xi text editor, written in Rust" +url="https://gitlab.gnome.org/World/Tau" +arch="x86_64" # limited by cargo/rust +license="MIT" +makedepends="meson cargo gtk+3.0-dev" +checkdepends="appstream-glib desktop-file-utils" +options="!check" # Rust doesn't like to compile these on musl +subpackages="$pkgname-lang" +source="https://gitlab.gnome.org/World/Tau/uploads/a39620a6da11c81f3a3ee8279bb7b76d/tau-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + . output + ninja -C output +} + +check() { + ninja -C output test +} + +package() { + DESTDIR="$pkgdir" ninja -C output install +} + +sha512sums="d4bc7272a0003f3d52352c44870bba97640122af9c4fe6b5389c2ca7af17f0b2680ecb1a6ab4d2f2ca1782f47366549c74fd6e7a41c8fa01e01a2b744048ff33 tau-0.9.1.tar.xz" |