diff options
author | Rasmus Thomsen <oss@cogitri.dev> | 2019-04-24 12:42:29 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-24 12:55:20 +0000 |
commit | 6f6c6f7340dc3a653896398fbcdd8fd70e5e9da1 (patch) | |
tree | 9893a4cf353dc529b96efae89903cc80aaf2bd94 /testing/libhandy | |
parent | 045964f9b92bfad1d6e58a473b8720db2790159d (diff) | |
download | aports-6f6c6f7340dc3a653896398fbcdd8fd70e5e9da1.tar.bz2 aports-6f6c6f7340dc3a653896398fbcdd8fd70e5e9da1.tar.xz |
testing/libhandy: new aport
Diffstat (limited to 'testing/libhandy')
-rw-r--r-- | testing/libhandy/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/libhandy/APKBUILD b/testing/libhandy/APKBUILD new file mode 100644 index 0000000000..917a99501f --- /dev/null +++ b/testing/libhandy/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=libhandy +pkgver=0.0.9 +pkgrel=0 +pkgdesc="Library full of GTK+ widgets for mobile phones" +url="https://source.puri.sm/Librem5/libhandy" +arch="all" +license="LGPL-2.0-or-later" +makedepends="meson glib-dev gtk+3.0-dev vala py3-setuptools gobject-introspection-dev" +subpackages="$pkgname-dev" +options="!check" # needs DISPLAY +source="https://source.puri.sm/Librem5/libhandy/-/archive/v${pkgver}/libhandy-v${pkgver}.tar.gz" +builddir="$srcdir/$pkgname-v$pkgver" + +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="e9509f34659c77af3dd72474bcf3dbfc4dc509980a730cc4d051adf0ce305c92a4b0aec4b2b3aedcd115b1384595d046c7ec0a7cf38595c116b58c1a19452a5f libhandy-v0.0.9.tar.gz" |