summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a3dcd2906b2a517b9797e38c5ce8f81ee9982c1 (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
41
42
43
44
45
46
47
# Maintainer: Bruno ReniƩ <brutasse@gmail.com>
pkgname=libivykis-git
epoch=1
pkgver=v0.42.3.trunk.r1.g8f8eb78
pkgrel=1
pkgdesc="Library for asynchronous I/O readiness notification"
url="https://github.com/buytenh/ivykis"
arch=('i686' 'x86_64')
license=('LGPL-2.1')
depends=()
makedepends=()
provides=('libivykis')
conflicts=('libivykis')
source=("git+https://github.com/buytenh/ivykis.git")
md5sums=('SKIP')

pkgver() {
	cd ivykis

	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
	cd ivykis

	pushd test.mt
	aclocal
	autoheader
	libtoolize --ltdl --copy --force
	automake --add-missing --copy --foreign
	autoconf
	popd

	aclocal
	autoheader
	libtoolize --ltdl --copy --force
	automake --add-missing --copy --foreign
	autoconf
	./configure --prefix=/usr
	make
}

package() {
	cd ivykis

	make DESTDIR="$pkgdir" install
}