summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 014b6e72334428841f26df3ffcabc63d4fd91653 (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
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
# Contributor: snafu <regflx@web.de>
pkgname=genders
pkgver=1.23
pkgrel=1
pkgdesc="Static cluster configuration database used for cluster configuration management."
arch=('x86_64' 'i686')
url='https://computing.llnl.gov/linux/genders.html'
license=('GPL')
source=("https://github.com/chaos/${pkgname}/archive/${pkgname}-${pkgver/./-}-1.tar.gz"
        '624078.patch')
sha256sums=('f165b6d6082a178145ff9e588abc011a53a8b67995125c1c1dc8363cdebbdd2e'
            '7bd0e8bbf2e29ef00ee2387a1dd964cda841bc8995db85cf97b73c4dd766e699')

options=('!makeflags')

build() {
  cd "$srcdir/$pkgname-$pkgname-${pkgver/./-}-1"
  patch -p1 < ../624078.patch
  # export CPPFLAGS="-I/usr/lib/jvm/default/include -I/usr/lib/jvm/default/include/linux ${CPPFLAGS}"
  ./configure --prefix=/usr               \
              --with-perl-vendor-arch     \
              --with-cplusplus-extensions \
              --without-java-extensions   \
              --without-python-extensions
}

package() {
  cd "$srcdir/$pkgname-$pkgname-${pkgver/./-}-1"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et: