You are not logged in.
Hi,
for fun and playing around with it I build mtasc from source. They distribute
an install.ml (caml-source) which pulls stuff from cvs and builds it.
So PKGBUILD is q'n d but it works for me, enjoy:
# Contributor: Tobias Kieslich <tobias@archlinux.org>
pkgname=mtasc
pkgver=1.10
pkgrel=1
pkgdesc="a command-line ActionScript(2) compiler"
url="http://www.mtasc.org/"
depends=('glibc' 'zlib')
makedepends=('ocaml' 'cvs')
source=(http://tech.motion-twin.com/doc/mtasc/install.ml)
build() {
cd $startdir/src
sed -i 's:zlib.lib:/usr/lib/libz.a:' install.ml
ocaml install.ml
install -Dm 755 bin/mtasc $startdir/pkg/usr/bin/mtasc
mkdir -p $startdir/pkg/usr/share/mtasc
cp -R ocaml/mtasc/std* $startdir/pkg/usr/share/mtasc
find $startdir/pkg -type d -name CVS -exec rm -rf {} ;
find $startdir/pkg/usr/share -type f -exec chmod 644 {} ;
find $startdir/pkg/usr/share -type d -exec chmod 755 {} ;
}
# vim: ft=sh
-neri
Offline
Here comes swfmill, a nice companion to mtasc:
#Contributor: Tobias Kieslich <tobias@archlinux.org>
pkgname=swfmill
pkgver=0.2.11
pkgrel=1
pkgdesc="library compiler for flash animations"
url="http://iterative.org/swfmill/"
license=""
depends=('gcc' 'freetype2' 'libxslt' 'libpng')
makedepends=()
source=(http://iterative.org/swfmill/releases/$pkgname-$pkgver.tar.gz)
md5sums=('ccf9e9771cb5f3b1be55118b12fcd6fc')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install
}
# vim: ft=sh
Offline