diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/PKGBUILD b/PKGBUILD index ebe8be7..a544f92 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -6,7 +6,7 @@ pkgdesc="Komodo Manchester Debugger" arch=('i386' 'x86_64') url="http://brej.org/kmd/" license=('GPL') -depends=('gtk>=1.2.0' 'glib>=1.2.0') +# depends=('gtk>=1.2.0' 'glib>=1.2.0') makedepends=() provides=('kmd') @@ -19,31 +19,16 @@ md5sums=( ) prepare() { - mkdir -p "$pkgdir/usr/local/kmd" cd "KMD-$pkgver" } build() { cd "KMD-$pkgver" - ./configure --prefix=/usr/local/kmd --build=i386 + ./configure --prefix=/usr --build=i386 make - -cat << EOS > kmd_run -#!/bin/sh -KMD_DIR=/usr/local/kmd -CURR_DIR=\$(pwd) -cd "\$KMD_DIR" -./kmd -e jimulator -cd "\$CURR_DIR" -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" + make DESTDIR="$pkgdir/" install } |