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 /PKGBUILD | |
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 '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 } |