From a94eae3a81ff85f592d57700ff45a46b4e2bc58a Mon Sep 17 00:00:00 2001
From: pancake <pancake@nopcode.org>
Date: Fri, 26 Jul 2013 10:02:58 +0200
Subject: [PATCH] libCello: update to 1.0.0

---
 srcpkgs/{libcello => libCello}/template | 22 +++++++++++-----------
 srcpkgs/libcello-devel                  |  1 -
 2 files changed, 11 insertions(+), 12 deletions(-)
 rename srcpkgs/{libcello => libCello}/template (50%)
 delete mode 120000 srcpkgs/libcello-devel

diff --git a/srcpkgs/libcello/template b/srcpkgs/libCello/template
similarity index 50%
rename from srcpkgs/libcello/template
rename to srcpkgs/libCello/template
index 77485f2b9c..18c877b7a1 100644
--- a/srcpkgs/libcello/template
+++ b/srcpkgs/libCello/template
@@ -1,24 +1,24 @@
 # Template file for 'libcello'
-pkgname=libcello
-version=0.9.3
+pkgname=libCello
+version=1.0.0
 revision=1
-build_style=gnu-configure
 short_desc="Higher level programming in C"
 maintainer="pancake <pancake@nopcode.org>"
 homepage="http://www.libcello.org/"
 license="BSD"
 distfiles="http://$pkgname.org/static/$pkgname-$version.tar.gz"
-checksum=e4b2c475b5dac198864b03393d570074fbb6c7f7abc1a854bae78660e3ccac41
+checksum=65ed2b9cf72c8417dcbefe2f81d730e49c43cea857b3d5ec146a1d47512cec93
 
-libcello-devel_package() {
-	short_desc+=" - development files"
-	pkg_install() {
-		vmove usr/include
-		vmove "usr/lib/*.a"
-	}
+do_build() {
+	make ${makejobs}
 }
 
-libcello_package() {
+do_install() {
+	mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/include
+	make install DESTDIR=${DESTDIR} PREFIX=/usr
+}
+
+libCello_package() {
 	pkg_install() {
 		vmove usr
 	}
diff --git a/srcpkgs/libcello-devel b/srcpkgs/libcello-devel
deleted file mode 120000
index aeb86c3214..0000000000
--- a/srcpkgs/libcello-devel
+++ /dev/null
@@ -1 +0,0 @@
-libcello
\ No newline at end of file