From 5a5524f1bc6d8df51f9a338fe992546ef9fb38d0 Mon Sep 17 00:00:00 2001 From: bougyman Date: Mon, 11 May 2015 12:12:42 -0500 Subject: [PATCH] ponyc: add examples, another symlink fix --- srcpkgs/ponyc/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ponyc/template b/srcpkgs/ponyc/template index f55878cea08..b093de4e227 100644 --- a/srcpkgs/ponyc/template +++ b/srcpkgs/ponyc/template @@ -1,7 +1,7 @@ # Template file for 'ponyc' pkgname=ponyc version=0.1.3 -revision=2 +revision=3 only_for_archs="x86_64" build_style=gnu-makefile hostmakedepends="llvm" @@ -19,11 +19,14 @@ do_build() { do_install() { make config=release destdir=${DESTDIR}/usr/lib/pony/${version} prefix=${DESTDIR}/usr install - rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a ${DESTDIR}/usr/lib/libponyc.a + rm ${DESTDIR}/usr/bin/ponyc ${DESTDIR}/usr/lib/libponyrt.a \ + ${DESTDIR}/usr/lib/libponyc.a ${DESTDIR}/usr/include/pony.h ln -s /usr/lib/pony/${version}/lib/libponyrt.a ${DESTDIR}/usr/lib ln -s /usr/lib/pony/${version}/lib/libponyc.a ${DESTDIR}/usr/lib ln -s /usr/lib/pony/${version}/bin/ponyc ${DESTDIR}/usr/bin + ln -s /usr/lib/pony/${version}/include/pony.h ${DESTDIR}/usr/include vlicense LICENSE vdoc README.md + vcopy examples usr/share/doc/ponyc/ }