blob: e91873bffadd6df65bca2fb76a6255f10dc70fdc (
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
|
# Maintainer: Fabian Maurer <dark.shadow4@web.de>
# Contributor: Rafael Fontenelle <rafaelff@gnome.org>
# Contributor: Mark Weiman <mark dot weiman at markzz dot com>
_name=tevent
pkgname=lib32-${_name}
pkgver=0.15.0
pkgrel=1
pkgdesc="An event system based on the talloc memory management library (lib32)"
arch=('x86_64')
url="https://tevent.samba.org"
license=('GPL3')
source=("https://samba.org/ftp/${_name}/${_name}-${pkgver}.tar.gz")
depends=('lib32-talloc' 'tevent' 'python')
makedepends=('lib32-cmocka')
sha256sums=('662a9f277281bcf506b6bc0a0baa03e44a62229516ee34bcc703a0b82aa46905')
build() {
cd ${_name}-${pkgver}
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./configure --prefix=/usr \
--libdir=/usr/lib32 \
--bundled-libraries=NONE \
--builtin-libraries=replace \
--disable-python
make
}
package() {
cd ${_name}-${pkgver}
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{include,share}
}
|