aboutsummaryrefslogtreecommitdiffstats
path: root/community/libpeas/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2017-04-07 05:05:26 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2017-04-07 05:05:26 +0000
commit1d0c810ec3f555df7df933594c55e2565cd33e95 (patch)
tree9e6f3b6370c16da4a0a43d3e3f2dfb9ca32a37ca /community/libpeas/APKBUILD
parentcfac35fac1583a11e7efea63a2ad8b0ad831d865 (diff)
downloadaports-1d0c810ec3f555df7df933594c55e2565cd33e95.tar.bz2
aports-1d0c810ec3f555df7df933594c55e2565cd33e95.tar.xz
community/libpeas: new aport
Diffstat (limited to 'community/libpeas/APKBUILD')
-rw-r--r--community/libpeas/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/libpeas/APKBUILD b/community/libpeas/APKBUILD
new file mode 100644
index 0000000000..d5c3e15562
--- /dev/null
+++ b/community/libpeas/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=libpeas
+pkgver=1.20.0
+pkgrel=0
+pkgdesc="GObject-based plugin system"
+url="https://wiki.gnome.org/Projects/Libpeas"
+arch="all"
+license="LGPL"
+depends=""
+depends_dev=""
+makedepends="$depends_dev glib-dev gobject-introspection-dev intltool gtk+3.0-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/libpeas/1.20/libpeas-$pkgver.tar.xz"
+builddir="$srcdir/libpeas-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+sha512sums="b3ddebf65e1a76493b5cd5150f60c13597c90398eea16c002e51d25449a595f7591bd0ccd1214ca3a8cbce724eb10f38a316e8c95092442034c048bc95cfdbf4 libpeas-1.20.0.tar.xz"