ponyc: update to 0.9.0
This commit is contained in:
parent
a66512eac7
commit
807df3eab9
1 changed files with 9 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'ponyc'
|
||||
pkgname=ponyc
|
||||
version=0.1.7
|
||||
version=0.9.0
|
||||
revision=1
|
||||
only_for_archs="x86_64"
|
||||
build_style=gnu-makefile
|
||||
|
@ -11,7 +11,8 @@ maintainer="bougyman <bougyman@voidlinux.eu>"
|
|||
license="BSD"
|
||||
homepage="http://ponylang.org/"
|
||||
distfiles="https://github.com/CausalityLtd/ponyc/archive/${version}.tar.gz"
|
||||
checksum=4848d8e802e4bc8a3fdc709278caabf898794631b6c6405e5c41dc7bd5e32b6d
|
||||
checksum=0cae437e66ab028a08a658278635dbc47e6e541d7b7dabe3bcfaa035126fa3a2
|
||||
nopie=yes
|
||||
|
||||
do_build() {
|
||||
make config=release destdir=/usr/lib/pony/${version} prefix=/usr
|
||||
|
@ -19,14 +20,13 @@ 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 \
|
||||
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
|
||||
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/
|
||||
vcopy examples usr/share/doc/ponyc/
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue