summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libwnck/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libwnck/APKBUILD b/user/libwnck/APKBUILD
new file mode 100644
index 000000000..c3d89fd43
--- /dev/null
+++ b/user/libwnck/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=libwnck
+pkgver=3.24.1
+pkgrel=0
+pkgdesc="Window navigator construction kit library from Gnome"
+url="https://gnome.org"
+arch="all"
+license="LGPL-2.0+"
+makedepends="glib-dev gtk+3.0-dev gobject-introspection-dev vala-dev
+ startup-notification-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.gnome.org/sources/libwnck/3.24/libwnck-$pkgver.tar.xz"
+sha512sums="e8a31ab2dc0c282f1e0994ce6a2ccd18678dc5c140943399262e795052b7f5da2d6a5d388a74f4b10f8fac66ab138983a9caaee4e72c92a17c01ca5c39b731e1 libwnck-3.24.1.tar.xz"
+builddir="$srcdir/libwnck-$pkgver"
+
+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
+}
+