summaryrefslogtreecommitdiff
path: root/pcr/c-algorithms/PKGBUILD
blob: c18545cdcfdb6ca9550aeac4b308d8d3a09c0ce6 (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
# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
# Contributor : Sebastien Binet <binet@farnsworth>
# Maintainer  : Aurélien DESBRIERES <aurelien@hackers.camp>
pkgname=c-algorithms  
pkgver=1.2.0
pkgrel=2
pkgdesc="A collection of many common data structures and algorithms for C"
url="http://c-algorithms.sourceforge.net/"
arch=('i686' 'x86_64')
license=('BSD')
depends=('glibc')
makedepends=('gcc')
conflicts=()
replaces=()
backup=()
install=
source=(http://heanet.dl.sourceforge.net/sourceforge/c-algorithms/$pkgname-$pkgver.tar.gz)

build() {
  cd ${srcdir}/$pkgname-$pkgver
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=${pkgdir} install || return 1
}

md5sums=('d104d55ee9c97a2766b0850b44b6e85f')