From 9bda01d1b9cf25b32e88dcabc3026960ca375c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20DESBRI=C3=88RES?= Date: Wed, 8 Oct 2014 17:29:09 +0200 Subject: c-algorithms --- pcr/c-algorithms/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/c-algorithms/PKGBUILD (limited to 'pcr/c-algorithms') diff --git a/pcr/c-algorithms/PKGBUILD b/pcr/c-algorithms/PKGBUILD new file mode 100644 index 000000000..c18545cdc --- /dev/null +++ b/pcr/c-algorithms/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Contributor : Sebastien Binet +# Maintainer : Aurélien DESBRIERES +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') -- cgit v1.2.3-2-g168b