summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/c-algorithms/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
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 <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')