summaryrefslogtreecommitdiff
path: root/pcr/c-algorithms/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/c-algorithms/PKGBUILD')
-rw-r--r--pcr/c-algorithms/PKGBUILD15
1 files changed, 9 insertions, 6 deletions
diff --git a/pcr/c-algorithms/PKGBUILD b/pcr/c-algorithms/PKGBUILD
index c18545cdc..1f991351b 100644
--- a/pcr/c-algorithms/PKGBUILD
+++ b/pcr/c-algorithms/PKGBUILD
@@ -3,11 +3,11 @@
# Maintainer : Aurélien DESBRIERES <aurelien@hackers.camp>
pkgname=c-algorithms
pkgver=1.2.0
-pkgrel=2
+pkgrel=2.1
pkgdesc="A collection of many common data structures and algorithms for C"
url="http://c-algorithms.sourceforge.net/"
arch=('i686' 'x86_64')
-license=('BSD')
+license=('ISC')
depends=('glibc')
makedepends=('gcc')
conflicts=()
@@ -15,12 +15,15 @@ replaces=()
backup=()
install=
source=(http://heanet.dl.sourceforge.net/sourceforge/c-algorithms/$pkgname-$pkgver.tar.gz)
+md5sums=('d104d55ee9c97a2766b0850b44b6e85f')
build() {
cd ${srcdir}/$pkgname-$pkgver
- ./configure --prefix=/usr || return 1
- make || return 1
- make DESTDIR=${pkgdir} install || return 1
+ ./configure --prefix=/usr
+ make
}
-md5sums=('d104d55ee9c97a2766b0850b44b6e85f')
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+} \ No newline at end of file