diff options
author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-15 14:46:11 +0100 |
---|---|---|
committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-15 14:46:11 +0100 |
commit | 48c211537796486d782c100cc3deb99e8acfad04 (patch) | |
tree | da76674f4b68b8c6776983759d905bc4ef1d2167 /PKGBUILDOLD | |
parent | Almost final fix pkbuild (diff) | |
download | komodo-48c211537796486d782c100cc3deb99e8acfad04.tar.gz komodo-48c211537796486d782c100cc3deb99e8acfad04.tar.bz2 komodo-48c211537796486d782c100cc3deb99e8acfad04.zip |
Went back to old Pkbuild
Diffstat (limited to 'PKGBUILDOLD')
-rw-r--r-- | PKGBUILDOLD | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/PKGBUILDOLD b/PKGBUILDOLD new file mode 100644 index 0000000..23261dd --- /dev/null +++ b/PKGBUILDOLD @@ -0,0 +1,48 @@ +# Maintainer: Emati Mitame <aur@mita.me> +pkgname=kmd +pkgver=1.5.0 +pkgrel=1 +pkgdesc="Komodo Manchester Debugger" +arch=('i386' 'x86_64') +url="http://brej.org/kmd/" +license=('GPL') +depends=('gtk>=1.2.0' 'glib>=1.2.0') +makedepends=() + +provides=('kmd') +conflicts=() + +source=("https://studentnet.cs.manchester.ac.uk/resources/software/komodo/kmd.tar.gz") + +md5sums=( + 'SKIP' +) + +prepare() { + mkdir -p "$pkgdir/usr/local/kmd" + cd "KMD-$pkgver" +} + +build() { + cd "KMD-$pkgver" + ./configure --prefix=/usr/local/kmd --build=i386 + make + +cat << EOS > kmd_run +#!/bin/sh +KMD=/usr/local/kmd/ +LD_LIBRARY_PATH=/usr/lib:/usr/lib:\$LD_LIBRARY_PATH +export LD_LIBRARY_PATH +exec \$KMD/kmd \$@ +EOS +} + +package() { + cd "KMD-$pkgver" + install -Dm755 kmd_run "$pkgdir/usr/bin/kmd" + make DESTDIR="$pkgdir" install + mv "$pkgdir/usr/local/kmd/bin/kmd" "$pkgdir/usr/local/kmd/" + mv "$pkgdir/usr/local/kmd/bin/jimulator" "$pkgdir/usr/local/kmd/" + mv "$pkgdir/usr/local/kmd/bin/flash" "$pkgdir/usr/local/kmd/" + rm -rf "$pkgdir/usr/local/kmd/bin" +} |