summaryrefslogtreecommitdiff
path: root/user/cairomm/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/cairomm/APKBUILD')
-rw-r--r--user/cairomm/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/cairomm/APKBUILD b/user/cairomm/APKBUILD
new file mode 100644
index 000000000..601830296
--- /dev/null
+++ b/user/cairomm/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+# Maintainer: Kiyoshi Aman <kiyoshi.aman+adelie@gmail.com>
+pkgname=cairomm
+pkgver=1.12.0
+pkgrel=0
+pkgdesc="C++ interfaces to Cairo"
+url="https://gnome.org"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="glibmm-dev libsigc++-dev cairo-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.gnome.org/sources/cairomm/${pkgver%.*}/cairomm-$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="750e05f079c2ee9786d1a1ddb66ff90405549a82aeb542d585f904f7147994a451950a77ecb563f290cf2358f7010360ab03d9aa3a319651615c48bd25aeb7e8 cairomm-1.12.0.tar.xz"