summaryrefslogtreecommitdiff
path: root/extra/pth/PKGBUILD
blob: 3075d939bad50a0b4b02a46b16d83ac8c4efdd34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 78043 2010-04-19 08:33:13Z dgriffiths $
# Maintainer: damir <damir@archlinux.org>

pkgname=pth
pkgver=2.0.7
pkgrel=3
pkgdesc="The GNU Portable Threads."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/pth/"
license=('LGPL')
depends=('glibc')
options=('!libtool' '!makeflags')
source=(ftp://ftp.gnu.org/gnu/pth/${pkgname}-${pkgver}.tar.gz)
md5sums=('9cb4a25331a4c4db866a31cbe507c793')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc \
              --localstatedir=/var --mandir=/usr/share/man || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}