summaryrefslogtreecommitdiff
path: root/user/cairomm/APKBUILD
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-18 21:57:12 -0600
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2019-01-18 21:57:12 -0600
commit974a1e491be4136a5710b8c650d92233fa79bae5 (patch)
treeaadfa708e4ef7d341fe6988e70ce02e3490dcbdb /user/cairomm/APKBUILD
parentaf43a459b704ce76d9a42638aa084efe1be8cd24 (diff)
downloadpackages-974a1e491be4136a5710b8c650d92233fa79bae5.tar.gz
packages-974a1e491be4136a5710b8c650d92233fa79bae5.tar.bz2
packages-974a1e491be4136a5710b8c650d92233fa79bae5.tar.xz
packages-974a1e491be4136a5710b8c650d92233fa79bae5.zip
user/cairomm: new package for gtkmm+3.0
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"