diff options
-rw-r--r-- | user/libmateweather/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/libmateweather/APKBUILD b/user/libmateweather/APKBUILD new file mode 100644 index 000000000..3d6f9573d --- /dev/null +++ b/user/libmateweather/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com> +pkgname=libmateweather +pkgver=1.22.0 +pkgrel=0 +pkgdesc="Weather library for the MATE desktop environment" +url="https://mate-desktop.org" +arch="all" +license="LGPL-2.1+ AND GPL-2.0+" +depends="" +makedepends="gtk+3.0-dev intltool libsoup-dev libxml2-dev libxml2-utils" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://pub.mate-desktop.org/releases/${pkgver%.*}/libmateweather-$pkgver.tar.xz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="43371fc615dda2b9042633a63ac4c1fb0b1ea43b20c783e443b0f57e10ad8fddedbd593f03bd6c942729f0a9c80484266fe1ef900d128fa4b02f80d6a80ae9bd libmateweather-1.22.0.tar.xz" |