summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO33
-rw-r--r--PKGBUILD46
2 files changed, 49 insertions, 30 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6b56d8c1e371..3f1b65fa86e8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,29 @@
pkgbase = arc
pkgdesc = Arc file archiver and compressor. Long since superceeded by zip/unzip but useful if have old .arc files need to unpack.
- pkgver = 5.21p
- pkgrel = 5
+ pkgver = 5.21q
+ pkgrel = 1
url = http://sourceforge.net/projects/arc
arch = x86_64
license = GPL
- source = http://download.sourceforge.net/arc/arc-5.21p.tar.gz
- source = arc-5.21p-directory-traversel.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/080_arc-5.21p-directory-traversel.patch
- source = arc-5.21p-fix-arcdie.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/070_arc-5.21p-fix-arcdie.patch
- source = arc-5.21p-hdrv1-read-fix.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/060_arc-5.21p-hdrv1-read-fix.patch
- source = https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/arc/files/arc-5.21p-fno-common.patch
- source = fix-gcc-warnings.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/040_fix-gcc-warnings.patch
- sha256sums = eacf870a245f155a4ba8c6f8e0fbb2e8a267aafa157f56ba7a8cb1d74fd8b5a1
- sha256sums = 3ec0bf53d40dbe2e05a6dd37ec5ed882aa78cdee36adda6b3829c1534dea9b79
- sha256sums = 9af0ba3e6f4ab8a70101aafe412dc8680013ad2d086340d2200611a1442e16b0
+ source = https://github.com/ani6al/arc/archive/refs/tags/5.21q.tar.gz
+ source = arc-5.21q-fix-makefile.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/010_fix-makefile.patch
+ source = arc-5.21q-spelling.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/020_spelling.patch
+ source = arc-5.21q-manpage-section-fix.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/030_manpage-section-fix.patch
+ source = arc-5.21q-fix-gcc-warnings.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/040_fix-gcc-warnings.patch
+ source = arc-5.21q-nostrip.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/050_nostrip.patch
+ source = arc-5.21q-hdrv1-read-fix.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/060_arc-5.21p-hdrv1-read-fix.patch
+ source = arc-5.21q-fix-arcdie.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/070_arc-5.21p-fix-arcdie.patch
+ source = arc-5.21q-directory-traversel.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/080_arc-5.21p-directory-traversel.patch
+ source = arc-5.21q-fno-common.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/arc/files/arc-5.21p-fno-common.patch
+ sha256sums = bde44648d0c451852612da2256f5a7e48b97d0d625ba88b903d7f223959528cc
+ sha256sums = 219735abda0425ffcb9602711276a5562033df01360050768a4754ec772b840d
+ sha256sums = 921cf195cb3513837816aff759271ae9be48b026f312b82eb595b2289afbcc61
+ sha256sums = b344d7e8f6f7168fd32ddf9cf00834c8290e90673b9b49e94b2d84c8296f27d6
+ sha256sums = ac902db9fbadda9a917bb06ea4e13f8ef086116e882f5b13d680e4099fa52fca
+ sha256sums = 13fd922a4097e384eda9d25d93dfd6832f9c7bfd80b09b5d5a2a15ad6fa42488
sha256sums = 45be47184902c31a0f17268ff4dd2acc83f47fef3567edffcab8b418bd61b121
+ sha256sums = 9af0ba3e6f4ab8a70101aafe412dc8680013ad2d086340d2200611a1442e16b0
+ sha256sums = 3ec0bf53d40dbe2e05a6dd37ec5ed882aa78cdee36adda6b3829c1534dea9b79
sha256sums = aa80eea84d635a79565870fe076d4487e4b8770d9e065b54428e852a39ef3e40
- sha256sums = ac902db9fbadda9a917bb06ea4e13f8ef086116e882f5b13d680e4099fa52fca
pkgname = arc
-
diff --git a/PKGBUILD b/PKGBUILD
index d627d08a3447..2e73c5c47bc7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,33 +2,45 @@
# Contributor: Diogo Leal <estranho@diogoleal.com>
pkgname=arc
-pkgver=5.21p
-pkgrel=5
+pkgver=5.21q
+pkgrel=1
pkgdesc="Arc file archiver and compressor. Long since superceeded by zip/unzip but useful if have old .arc files need to unpack."
arch=('x86_64')
url='http://sourceforge.net/projects/arc'
license=('GPL')
-source=("http://download.sourceforge.net/arc/arc-${pkgver}.tar.gz"
- 'arc-5.21p-directory-traversel.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/080_arc-5.21p-directory-traversel.patch'
- 'arc-5.21p-fix-arcdie.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/070_arc-5.21p-fix-arcdie.patch'
- 'arc-5.21p-hdrv1-read-fix.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/060_arc-5.21p-hdrv1-read-fix.patch'
- 'https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/arc/files/arc-5.21p-fno-common.patch'
- 'fix-gcc-warnings.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/040_fix-gcc-warnings.patch'
+source=("https://github.com/ani6al/arc/archive/refs/tags/$pkgver.tar.gz" # "http://download.sourceforge.net/arc/arc-${pkgver}.tar.gz"
+ 'arc-5.21q-fix-makefile.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/010_fix-makefile.patch'
+ 'arc-5.21q-spelling.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/020_spelling.patch'
+ 'arc-5.21q-manpage-section-fix.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/030_manpage-section-fix.patch'
+ 'arc-5.21q-fix-gcc-warnings.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/040_fix-gcc-warnings.patch'
+ 'arc-5.21q-nostrip.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/050_nostrip.patch'
+ 'arc-5.21q-hdrv1-read-fix.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/060_arc-5.21p-hdrv1-read-fix.patch'
+ 'arc-5.21q-fix-arcdie.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/070_arc-5.21p-fix-arcdie.patch'
+ 'arc-5.21q-directory-traversel.patch::https://salsa.debian.org/debian/arc/-/raw/debian/master/debian/patches/080_arc-5.21p-directory-traversel.patch'
+ 'arc-5.21q-fno-common.patch::https://gitweb.gentoo.org/repo/gentoo.git/plain/app-arch/arc/files/arc-5.21p-fno-common.patch'
)
-sha256sums=('eacf870a245f155a4ba8c6f8e0fbb2e8a267aafa157f56ba7a8cb1d74fd8b5a1'
- '3ec0bf53d40dbe2e05a6dd37ec5ed882aa78cdee36adda6b3829c1534dea9b79'
- '9af0ba3e6f4ab8a70101aafe412dc8680013ad2d086340d2200611a1442e16b0'
+sha256sums=('bde44648d0c451852612da2256f5a7e48b97d0d625ba88b903d7f223959528cc'
+ '219735abda0425ffcb9602711276a5562033df01360050768a4754ec772b840d'
+ '921cf195cb3513837816aff759271ae9be48b026f312b82eb595b2289afbcc61'
+ 'b344d7e8f6f7168fd32ddf9cf00834c8290e90673b9b49e94b2d84c8296f27d6'
+ 'ac902db9fbadda9a917bb06ea4e13f8ef086116e882f5b13d680e4099fa52fca'
+ '13fd922a4097e384eda9d25d93dfd6832f9c7bfd80b09b5d5a2a15ad6fa42488'
'45be47184902c31a0f17268ff4dd2acc83f47fef3567edffcab8b418bd61b121'
+ '9af0ba3e6f4ab8a70101aafe412dc8680013ad2d086340d2200611a1442e16b0'
+ '3ec0bf53d40dbe2e05a6dd37ec5ed882aa78cdee36adda6b3829c1534dea9b79'
'aa80eea84d635a79565870fe076d4487e4b8770d9e065b54428e852a39ef3e40'
- 'ac902db9fbadda9a917bb06ea4e13f8ef086116e882f5b13d680e4099fa52fca'
)
prepare() {
- patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21p-hdrv1-read-fix.patch"
- patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21p-fix-arcdie.patch"
- patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21p-directory-traversel.patch"
- patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21p-fno-common.patch"
- patch -d "arc-${pkgver}" -p1 -i "${srcdir}/fix-gcc-warnings.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-fix-makefile.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-spelling.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-manpage-section-fix.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-fix-gcc-warnings.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-nostrip.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-hdrv1-read-fix.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-fix-arcdie.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-directory-traversel.patch"
+ patch -d "arc-${pkgver}" -p1 -i "${srcdir}/arc-5.21q-fno-common.patch"
}
build() {