blob: a74ccbb15cfbad3771facd178fb51623cdaf623e (
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
40
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libsigc++
pkgver=2.10.0
pkgrel=1
pkgdesc="type-safe Signal Framework for C++"
url="http://libsigc.sourceforge.net/"
arch="all"
license="LGPL"
makedepends="m4 perl tar"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
doc() {
default_doc
mv "$pkgdir"/usr/share/devhelp "$subpkgdir"/usr/share
rmdir "$pkgdir"/usr/share
}
sha512sums="5b96df21d6bd6ba41520c7219e77695a86aabc60b7259262c7a9f4b8475ce0e2fd8dc37bcf7c17e24e818ff28c262d682b964c83e215b51bdbe000f3f58794ae libsigc++-2.10.0.tar.xz"
|