mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Update to release package
This commit is contained in:
parent
d18ecb152f
commit
a740bbf8b3
3 changed files with 38 additions and 5 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,11 +1,13 @@
|
|||
pkgbase = unp64
|
||||
pkgdesc = Generic C64 prg unpacker
|
||||
pkgver = 2.37
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = http://iancoog.altervista.org/
|
||||
arch = x86_64
|
||||
license = unknown
|
||||
source = http://iancoog.altervista.org/C/unp64_237.7z
|
||||
md5sums = 6f533cbeef28ad026058bd74116edcb3
|
||||
source = ul-args-parse.patch
|
||||
md5sums = 00c54d72da1b6ab27b1b6f6193608d4e
|
||||
md5sums = 967a5c268d71151d42c57c73e8bb7412
|
||||
|
||||
pkgname = unp64
|
||||
|
|
|
|||
15
PKGBUILD
15
PKGBUILD
|
|
@ -2,13 +2,22 @@
|
|||
|
||||
pkgname=unp64
|
||||
pkgver=2.37
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Generic C64 prg unpacker'
|
||||
url='http://iancoog.altervista.org/'
|
||||
license=('unknown')
|
||||
arch=('x86_64')
|
||||
source=("http://iancoog.altervista.org/C/unp64_${pkgver/./}.7z")
|
||||
md5sums=('6f533cbeef28ad026058bd74116edcb3')
|
||||
source=(
|
||||
"http://iancoog.altervista.org/C/unp64_${pkgver/./}.7z"
|
||||
"ul-args-parse.patch"
|
||||
)
|
||||
md5sums=('00c54d72da1b6ab27b1b6f6193608d4e'
|
||||
'967a5c268d71151d42c57c73e8bb7412')
|
||||
|
||||
prepare() {
|
||||
echo $(pwd)
|
||||
patch -Np1 -d "unp64_${pkgver/./}" -i ../ul-args-parse.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/unp64_${pkgver/./}/src"
|
||||
|
|
|
|||
22
ul-args-parse.patch
Normal file
22
ul-args-parse.patch
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
diff --git a/src/unp64.c b/src/unp64.c
|
||||
index 800c8a3..4ede1dd 100644
|
||||
--- a/src/unp64.c
|
||||
+++ b/src/unp64.c
|
||||
@@ -496,7 +496,7 @@ looprecurse:
|
||||
case 'u':
|
||||
Unp.WrMemF=1;
|
||||
printf("Clean unwritten memory\n");
|
||||
- if (argv[p]+2)
|
||||
+ if (argv[p][2])
|
||||
{
|
||||
str_to_int(argv[p]+2, &Unp.WrMemV);
|
||||
q=Unp.WrMemV&0xff;
|
||||
@@ -509,7 +509,7 @@ looprecurse:
|
||||
case 'l':
|
||||
Unp.LfMemF=info->end;
|
||||
printf("Clean memory-end leftovers\n");
|
||||
- if (argv[p]+2)
|
||||
+ if (argv[p][2])
|
||||
{
|
||||
str_to_int(argv[p]+2, &Unp.LfMemV);
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue