summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libpeas/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libpeas/APKBUILD b/user/libpeas/APKBUILD
new file mode 100644
index 000000000..ba10fd314
--- /dev/null
+++ b/user/libpeas/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libpeas
+pkgver=1.22.0
+pkgrel=0
+pkgdesc="GObject-based plugin framework"
+url="https://gnome.org"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="intltool glib-dev gobject-introspection-dev gtk+3.0-dev
+ py3-pygobject py3-pygobject-dev python3-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/libpeas/${pkgver%.*}/libpeas-$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="9c1da1d4b5688c0f4d0647f3519dbfbed94c8921091057aaef0e41bf5ed3f8faf04a49ce9e4eea3fd7bf4ac4dfa1727d76a5f6dae2a4f52228d4c8c74b420c91 libpeas-1.22.0.tar.xz"