diff options
author | Lefl1 | 2018-07-30 01:23:15 +0200 |
---|---|---|
committer | Lefl1 | 2018-07-30 01:23:15 +0200 |
commit | 4e2e63b7f352bba3b2a1f7d78cf0d660e6f22910 (patch) | |
tree | ff9c31a6ccbdd6caf33dc9dc2a6fccffdab95fa2 | |
parent | 892e86cf366e135ef51e922527dcb057055b3ea8 (diff) | |
download | aur-4e2e63b7f352bba3b2a1f7d78cf0d660e6f22910.tar.gz |
Added patch for Lego USB tower support.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 29 |
2 files changed, 19 insertions, 16 deletions
@@ -1,13 +1,15 @@ pkgbase = nqc pkgdesc = Not Quite C is a simple language with a C-like syntax that can be used to program Lego's RCX programmable brick (from the Mindstorms set). pkgver = 3.1.r6 - pkgrel = 1 + pkgrel = 2 url = http://bricxcc.sourceforge.net/nqc/ arch = i686 arch = x86_64 license = custom:MPL source = http://bricxcc.sourceforge.net/nqc/release/nqc-3.1.r6.tgz - md5sums = 2ed4b2728ab6f0d21723a466996ce91b + source = http://sourceforge.net/p/bricxcc/patches/_discuss/thread/00b427dc/b84b/attachment/nqc-01-Linux_usb_and_tcp.diff + sha512sums = 7ec7015861b5f8e063e3a2567f5c6ff7e5c6a65b60fab9bef71411d59b13a588f284ee3a8d06b9325748c209e21f9480b9792bc605148e2a4af64b90f872e2aa + sha512sums = 639e30642f030a1f9bb39eb497b4f2432f6e39684629b3729b1773a2f56b23b75635cd08638172707c9826059dc1a4a5f18dc53b1519cfe139f85386e4809af7 pkgname = nqc @@ -1,30 +1,31 @@ # Maintainer: Lennard Fleischer <lefl65@gmail.com> +# Contributor: Will Price <will.price94@gmail.com> pkgname=nqc pkgver=3.1.r6 -pkgrel=1 +pkgrel=2 pkgdesc="Not Quite C is a simple language with a C-like syntax that can be used to program Lego's RCX programmable brick (from the Mindstorms set)." arch=('i686' 'x86_64') url='http://bricxcc.sourceforge.net/nqc/' license=('custom:MPL') dependends=('gcc' 'glibc') -source=('http://bricxcc.sourceforge.net/nqc/release/nqc-3.1.r6.tgz') -md5sums=('2ed4b2728ab6f0d21723a466996ce91b') +source=( + 'http://bricxcc.sourceforge.net/nqc/release/nqc-3.1.r6.tgz' + 'http://sourceforge.net/p/bricxcc/patches/_discuss/thread/00b427dc/b84b/attachment/nqc-01-Linux_usb_and_tcp.diff' +) +sha512sums=( + '7ec7015861b5f8e063e3a2567f5c6ff7e5c6a65b60fab9bef71411d59b13a588f284ee3a8d06b9325748c209e21f9480b9792bc605148e2a4af64b90f872e2aa' + '639e30642f030a1f9bb39eb497b4f2432f6e39684629b3729b1773a2f56b23b75635cd08638172707c9826059dc1a4a5f18dc53b1519cfe139f85386e4809af7' +) build() { - - rm -f compiler/parse.cpp compiler/parse.tab.h - rm -f compiler/lexer.cpp - rm -f bin/* - rm -f */*.o - rm -f compiler/rcx1_nqh.h compiler/rcx2_nqh.h - rm -f rcxlib/rcxnub.h - make - + patch -p1 < nqc-01-Linux_usb_and_tcp.diff + make clean + make } package() { - mkdir -p ${pkgdir}/usr/bin/ - cp -r bin/* ${pkgdir}/usr/bin/ + mkdir -p ${pkgdir}/usr/bin/ + cp -r bin/* ${pkgdir}/usr/bin/ } |