diff options
Diffstat (limited to 'testing/gnome-clocks/APKBUILD')
-rw-r--r-- | testing/gnome-clocks/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/gnome-clocks/APKBUILD b/testing/gnome-clocks/APKBUILD new file mode 100644 index 0000000000..a662465cd2 --- /dev/null +++ b/testing/gnome-clocks/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Rasmus Thomsen <oss@cogitri.dev> +# Maintainer: Rasmus Thomsen <oss@cogitri.dev> +pkgname=gnome-clocks +pkgver=3.32.0 +pkgrel=0 +pkgdesc="Clock application designed for GNOME 3" +url="https://wiki.gnome.org/Apps/Clocks" +arch="all" +license="GPL-2.0-or-later" +depends="gsettings-desktop-schemas" +makedepends="meson glib-dev gtk+3.0-dev libgweather-dev gsound-dev gnome-desktop-dev + geoclue-dev geocode-glib-dev gettext-dev vala itstool" +subpackages="$pkgname-lang $pkgname-doc" +source="https://download.gnome.org/sources/gnome-clocks/${pkgver%.*}/gnome-clocks-${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="061d867cffd3d8fcd09e125f8d053b847f2b197a4354f330e8b6c43d7aa5e0cf2bb51b342545c79c352f9dfbddd1667f3e64a40c1e117e6fc63f54289cf7cd2f gnome-clocks-3.32.0.tar.xz" |