aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsexy/APKBUILD
blob: 7055666efff19e979e68ec5093210a42a8536c14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsexy
pkgver=0.1.11
pkgrel=8
pkgdesc="Doing naughty things to good widgets."
url="http://chipx86.com/wiki/Libsexy"
arch="all"
options="!check"  # Tests require manual intervention and X11 display.
license="LGPL-2.0+"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="gtk+2.0-dev libxml2-dev iso-codes-dev"
source="http://releases.chipx86.com/$pkgname/$pkgname/$pkgname-$pkgver.tar.gz"

prepare() {
	cd "$builddir"
	update_config_sub
	default_prepare
}

build ()
{
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/libsexy.a
}

sha512sums="12ab0d2925b7a025116b8b03d8af3ed471cb60c0225b33d3a312e35acef95afb0fc265de135354883865fbe2338ca3b2d9356b401aa3bce4b532ec50a32067ca  libsexy-0.1.11.tar.gz"