[arch-commits] Commit in atomix/repos (staging-x86_64 staging-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue May 19 09:58:59 UTC 2020
Date: Tuesday, May 19, 2020 @ 09:58:58
Author: felixonmars
Revision: 386622
archrelease: copy trunk to staging-x86_64
Added:
atomix/repos/staging-x86_64/
atomix/repos/staging-x86_64/PKGBUILD
(from rev 386621, atomix/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: atomix/repos/staging-x86_64/PKGBUILD (from rev 386621, atomix/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-05-19 09:58:58 UTC (rev 386622)
@@ -0,0 +1,37 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+
+pkgname=atomix
+pkgver=3.34.0
+pkgrel=2
+pkgdesc="Build molecules out of single atoms"
+url="https://wiki.gnome.org/Apps/Atomix"
+arch=(x86_64)
+license=(GPL2)
+depends=(gtk3 libgnome-games-support)
+makedepends=(meson appstream-glib git)
+_commit=8494bab88eaf4325c395cca02379aa468b64b4ff # tags/3.34.0^0
+source=("git+https://gitlab.gnome.org/GNOME/atomix.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+ arch-meson $pkgname build
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list