temp/gnome-calculator: copy fork from v20.05 branch (MR 1546)
This commit is contained in:
parent
4e59a58aa2
commit
b320f9482a
1 changed files with 36 additions and 0 deletions
36
temp/gnome-calculator/APKBUILD
Normal file
36
temp/gnome-calculator/APKBUILD
Normal file
|
@ -0,0 +1,36 @@
|
|||
# Forked from Alpine to apply Purism's mobile patches
|
||||
|
||||
pkgname=gnome-calculator
|
||||
pkgver=9999_git20200113
|
||||
pkgrel=0
|
||||
_commit="b67ef929fdcb2677d31995044f8560574ee0e32f"
|
||||
pkgdesc="Calculator for solving mathematical equations"
|
||||
url="https://wiki.gnome.org/Apps/Calculator"
|
||||
arch="all !s390x !mips !mips64" # gtksourceview4 is not available on s390x
|
||||
license="GPL-3.0-or-later"
|
||||
makedepends="vala gtksourceview4-dev glib-dev gtk+3.0-dev libsoup-dev
|
||||
libxml2-dev meson mpc1-dev mpfr-dev itstool libgee-dev libhandy-dev"
|
||||
subpackages="$pkgname-doc $pkgname-lang $pkgname-dev"
|
||||
source="https://source.puri.sm/Librem5/gnome-calculator/-/archive/$_commit/gnome-calculator-$_commit.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$_commit"
|
||||
|
||||
build() {
|
||||
meson \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--libdir=/usr/lib \
|
||||
--buildtype=plain \
|
||||
. output
|
||||
ninja -C output
|
||||
}
|
||||
|
||||
check() {
|
||||
ninja -C output test
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" ninja -C output install
|
||||
}
|
||||
|
||||
sha512sums="952e0fb09b93852fd28803d41bf2518b9587d8adefb542e9bedf0a336aa94bb9befddd79e0b874cfcf7006e152b57ae036de6f2a922bc13934e6c713fab03f05 gnome-calculator-b67ef929fdcb2677d31995044f8560574ee0e32f.tar.gz"
|
Loading…
Reference in a new issue