summaryrefslogtreecommitdiff
path: root/user/libmateweather/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-23 07:20:13 -0500
committerKiyoshi Aman <kiyoshi.aman+adelie@gmail.com>2019-03-23 07:20:13 -0500
commit10600e618d8efce2e8f94cf1f17400c4cf692133 (patch)
tree90453348d32966a72e2d7cdeb6b1d585f8d4818d /user/libmateweather/APKBUILD
parent1ad67dd01b9d41452ec2e1379850d8dbc66205fd (diff)
downloadpackages-10600e618d8efce2e8f94cf1f17400c4cf692133.tar.gz
packages-10600e618d8efce2e8f94cf1f17400c4cf692133.tar.bz2
packages-10600e618d8efce2e8f94cf1f17400c4cf692133.tar.xz
packages-10600e618d8efce2e8f94cf1f17400c4cf692133.zip
user/libmateweather: new package
Diffstat (limited to 'user/libmateweather/APKBUILD')
-rw-r--r--user/libmateweather/APKBUILD37
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"