From e63f6a2120fdcc6f8dc2eab2da847909d5ac6efa Mon Sep 17 00:00:00 2001 From: Kiyoshi Aman Date: Sat, 8 Sep 2018 22:12:51 -0500 Subject: user/ido: new package --- user/ido/APKBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 user/ido/APKBUILD diff --git a/user/ido/APKBUILD b/user/ido/APKBUILD new file mode 100644 index 000000000..a2714b183 --- /dev/null +++ b/user/ido/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Kiyoshi Aman +# Maintainer: Kiyoshi Aman +pkgname=ido +pkgver=12.10.2 +pkgrel=0 +pkgdesc="Library for indicator display objects" +url="https://launchpad.net/libido" +arch="all" +options="!check" # broken testsuite +license="(LGPL-2.1-only OR LGPL-3.0-only) AND GPL-3.0-only AND LGPL-2.0+" +makedepends="gtk+3.0-dev" +subpackages="$pkgname-dev" +source="https://launchpad.net/ido/12.10/$pkgver/+download/ido-$pkgver.tar.gz" + +prepare() { + cd "$builddir" + default_prepare + update_config_sub +} + +build() { + cd "$builddir" + CFLAGS="-Wno-error" ./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="f745380bbc8b97c739691ae4f0dc27d5903ff078e92aaa2280d2c830c77ea2ad29b3abb4a49ffc7cc928b32e3a60ad64de20087980e02e5d5233eeb22978d2dc ido-12.10.2.tar.gz" -- cgit v1.2.3-70-g09d2