diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-12-13 11:55:35 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-12-13 11:55:35 -0300 |
commit | 69fbf2ca624da30dfaefb4c4150715df81d8cf00 (patch) | |
tree | 43a6191492a1d6a8b2dbf3a5fc30e04418407eff /~lukeshu/dasm | |
parent | 20325742c50f83cc58e49aa3b8347fde1399d734 (diff) | |
parent | cb9c375209c236c16557878a1b864f91de27b88d (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/ctpl/PKGBUILD
extra/ffmpeg/PKGBUILD
extra/subversion/PKGBUILD
multilib/lib32-libtiff/PKGBUILD
Diffstat (limited to '~lukeshu/dasm')
-rw-r--r-- | ~lukeshu/dasm/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/~lukeshu/dasm/PKGBUILD b/~lukeshu/dasm/PKGBUILD new file mode 100644 index 000000000..79a7264b4 --- /dev/null +++ b/~lukeshu/dasm/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Max Pray a.k.a. Synthead <synthead@gmail.com> + +pkgname=dasm +pkgver=2.20.11 +pkgrel=3 +pkgdesc="An assembler for the 6502, 68HC11, 68705, 6803, HD6303, F8 and 6507 microprocessors" +arch=('i686' 'x86_64') +url="http://www.atari2600.org/DASM" +license=('GPL') +source=("http://downloads.sourceforge.net/project/$pkgname-dillon/$pkgname-dillon/$pkgver/$pkgname-$pkgver.tar.gz") +md5sums=('3e67f7b8ac80419d53cc0aaa9a47ab37') + +build() { + cd "$srcdir/$pkgname-$pkgver" + make +} + +package() { + install -Dm 755 "$srcdir/$pkgname-$pkgver/bin/dasm" "$pkgdir/usr/bin/dasm" + install -Dm 755 "$srcdir/$pkgname-$pkgver/bin/ftohex" "$pkgdir/usr/bin/ftohex" + + for doc in AUTHORS ChangeLog COPYING CREDITS FUTURE NEWS README README.ANDREW "doc/dasm.txt" "doc/ftohex.txt"; do + install -Dm 644 "$srcdir/$pkgname-$pkgver/$doc" "$pkgdir/usr/share/doc/dasm/${doc/*\/}" + done + + mkdir -p "$pkgdir/usr/share/dasm" + cp -R "$srcdir/$pkgname-$pkgver"/{machines,test} "$pkgdir/usr/share/dasm" + + chmod 755 "$pkgdir/usr/share"/{dasm,dasm/machines,dasm/machines/atari2600,dasm/machines/channel-f,dasm/test} + chmod 644 "$pkgdir/usr/share/dasm"/{machines/atari2600,machines/channel-f,test}/* +} |