summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-10-08 17:29:09 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-10-08 17:29:09 +0200
commit9bda01d1b9cf25b32e88dcabc3026960ca375c0f (patch)
treea5a346a8d216f0b0b6a53ae4ffa7cd0cd2695df8
parent5458e60b10420b0bc9bb0d76e4e7c7b5d2c7b125 (diff)
c-algorithms
-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')