aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-2048
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-27 22:05:16 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-28 04:12:44 +0100
commit433c35109b41ac348d2f757974058f31795ebfee (patch)
tree7c8641b9fac4e319efa67f36d77d1a5c0e593784 /testing/gnome-2048
parente32670041e6103af08f073e8adefba4b2054132a (diff)
downloadaports-433c35109b41ac348d2f757974058f31795ebfee.tar.bz2
aports-433c35109b41ac348d2f757974058f31795ebfee.tar.xz
testing/gnome-2048: new aport
Diffstat (limited to 'testing/gnome-2048')
-rw-r--r--testing/gnome-2048/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/gnome-2048/APKBUILD b/testing/gnome-2048/APKBUILD
new file mode 100644
index 0000000000..fc609e906f
--- /dev/null
+++ b/testing/gnome-2048/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=gnome-2048
+pkgver=3.34.2
+pkgrel=0
+arch="all"
+url="https://wiki.gnome.org/Apps/2048"
+pkgdesc="Obtain the 2048 tile"
+license="GPL-3.0-or-later"
+makedepends="meson ninja itstool vala gtk+3.0-dev clutter-dev clutter-gtk-dev libgee-dev libgnome-games-support-dev"
+source="https://download.gnome.org/sources/gnome-2048/${pkgver%.*}/gnome-2048-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ meson \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --buildtype=release \
+ . output
+ ninja -C output
+}
+
+check() {
+ ninja test -C output
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja install -C output
+}
+
+sha512sums="17d9cc03d3f26e5bb83d68c5924ca80b260d61379fa682442ae6dc3a7dfe78bbb9b468062e31885f292ae692168750aef5d1a191b3000eec0357259568827447 gnome-2048-3.34.2.tar.xz"