blob: 4baa5abbf67e989cf58487b0ccf62d834e15879c (
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
|
# Maintainer: Moises Baltazar <null@moisesb.com>
# Contributor: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: snafu <regflx@web.de>
pkgname=genders
pkgver=1.32.1
pkgrel=3
pkgdesc="Static cluster configuration database used for cluster configuration management."
arch=('x86_64' 'i686')
url='https://github.com/chaos/genders'
license=('GPL')
provides=('genders')
source=("https://github.com/chaos/${pkgname}/archive/${pkgname}-${pkgver//./-}.tar.gz"
'624078.patch')
sha256sums=('0dc186ec8fd01ec10b5e171d8b8ef632a56d17c135baee2570c0a3c0ffd9d64d'
'7bd0e8bbf2e29ef00ee2387a1dd964cda841bc8995db85cf97b73c4dd766e699')
options=('!makeflags')
build() {
cd "$srcdir/$pkgname-$pkgname-${pkgver//./-}"
patch -p1 < ../624078.patch
# export CPPFLAGS="-I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux ${CPPFLAGS}"
./configure --prefix=/usr \
--with-non-shortened-hostnames \
--with-perl-vendor-arch \
--with-cplusplus-extensions \
--without-java-extensions \
--without-python-extensions
}
package() {
cd "$srcdir/$pkgname-$pkgname-${pkgver//./-}"
make DESTDIR="$pkgdir/" install
}
# vim:set ts=2 sw=2 et:
|