summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/rest/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/user/rest/APKBUILD b/user/rest/APKBUILD
new file mode 100644
index 000000000..bfa4c35a3
--- /dev/null
+++ b/user/rest/APKBUILD
@@ -0,0 +1,35 @@
+# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
+pkgname=rest
+pkgver=0.8.1
+pkgrel=0
+pkgdesc="GObject-based library for working with RESTful services"
+url="https://www.gnome.org/"
+arch="all"
+options="!check" # broken tests
+license="LGPL-2.1-only AND LGPL-2.1+"
+depends=""
+makedepends="glib-dev gobject-introspection-dev libsoup-dev vala-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/rest/0.8/rest-$pkgver.tar.xz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="824a341db3827e4360abe03e33735918c68913c70d797699ef74271080a1985872006ec70fd994dc8fa3fbfef417e6fe979883c11286512d0ce623b8368e40c3 rest-0.8.1.tar.xz"