diff options
author | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-08 01:12:55 -0800 |
---|---|---|
committer | Síle Ekaterin Liszka <sheila@vulpine.house> | 2023-11-08 16:33:30 -0800 |
commit | a726cbb22cf2b3468554d9abf4de8b70b54db614 (patch) | |
tree | 35ed061f677ba418ef09a451399d005f82304b4a /user | |
parent | 3cf269f65df2eabe12e3ded51f01cc78bec388f0 (diff) | |
download | packages-a726cbb22cf2b3468554d9abf4de8b70b54db614.tar.gz packages-a726cbb22cf2b3468554d9abf4de8b70b54db614.tar.bz2 packages-a726cbb22cf2b3468554d9abf4de8b70b54db614.tar.xz packages-a726cbb22cf2b3468554d9abf4de8b70b54db614.zip |
user/libhandy: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/libhandy/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/user/libhandy/APKBUILD b/user/libhandy/APKBUILD new file mode 100644 index 000000000..10b93af12 --- /dev/null +++ b/user/libhandy/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> +# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> +pkgname=libhandy +pkgver=1.8.2 +pkgrel=0 +pkgdesc="GTK framework for mobile-oriented interfaces" +url="https://www.gnome.org/" +arch="all" +options="!check" # tests fail to run +license="LGPL-2.1-only AND LGPL-2.1+ AND LGPL-2.0+ AND (Apache-2.0 OR GPL-3.0-or-later) AND MIT AND OFL-1.1" +depends="" +makedepends="meson ninja glib-dev gobject-introspection-dev gtk+3.0-dev vala-dev" +subpackages="$pkgname-dev $pkgname-lang" +source="https://download.gnome.org/sources/libhandy/1.8/libhandy-$pkgver.tar.xz" + +build() { + meson setup \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --buildtype=release \ + --wrap-mode=nofallback \ + . output + meson compile -C output +} + +check() { + meson test -C output +} + +package() { + DESTDIR="$pkgdir" meson install -C output +} + +sha512sums="ec48c66a95b1e9158d3e072e1cfab6d538a9235966c790f1e4d4f2ec40a251c8818f505d031285a53ce855da92b7919d3a26aca4160d93241925da1e8cf4b748 libhandy-1.8.2.tar.xz" |