aboutsummaryrefslogtreecommitdiffstats
path: root/main/libsexy/APKBUILD
blob: 5ac13c7780a5169e06c16d71aac265c6bd137fff (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
38
39
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsexy
pkgver=0.1.11
pkgrel=7
pkgdesc="Doing naughty things to good widgets."
url="http://chipx86.com/wiki/Libsexy"
arch="all"
license="GPL"
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"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

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

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	rm -f "$pkgdir"/usr/lib/libsexy.a
	find "$pkgdir" -name '*.la' -delete
}

md5sums="33c079a253270ec8bfb9508e4bb30754  libsexy-0.1.11.tar.gz"