summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 08:32:59 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-09-04 08:32:59 -0300
commit9c9c696c1e270fdc9b29e974e5d9fb5ba1e15981 (patch)
treed91f6663069478be23c03d6220015c0ba02b9005
parent5f717336745883bc05059daad60e95ff74be71c5 (diff)
unzip: remove libre suffix and add complex pkgrel
-rw-r--r--libre/unzip/PKGBUILD (renamed from libre/unzip-libre/PKGBUILD)19
-rw-r--r--libre/unzip/match.patch (renamed from libre/unzip-libre/match.patch)0
2 files changed, 9 insertions, 10 deletions
diff --git a/libre/unzip-libre/PKGBUILD b/libre/unzip/PKGBUILD
index b3ef3d44d..57e5272de 100644
--- a/libre/unzip-libre/PKGBUILD
+++ b/libre/unzip/PKGBUILD
@@ -3,35 +3,34 @@
# Contributor (Arch): Douglas Soares de Andrade <douglas@archlinux.org>
# Contributor (Arch): Robson Peixoto
-_pkgname=unzip
-pkgname=unzip-libre
+_pkgname=unzip-libre
+pkgname=unzip
pkgver=6.0
_pkgver=${pkgver/./}
-pkgrel=7
+pkgrel=7.parabola1
pkgdesc='For extracting and viewing files in .zip archives'
url='http://www.info-zip.org/UnZip.html'
arch=('i686' 'x86_64' 'mips64el')
license=('custom')
depends=('bzip2' 'bash')
-provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
replaces=("${_pkgname}")
-mksource=("http://downloads.sourceforge.net/infozip/${_pkgname}${_pkgver}.tar.gz"
+mksource=("http://downloads.sourceforge.net/infozip/${pkgname}${_pkgver}.tar.gz"
'match.patch')
-source=("https://repo.parabolagnulinux.org/other/${pkgname}/${_pkgname}${_pkgver}-libre.tar.gz")
+source=("https://repo.parabolagnulinux.org/other/${_pkgname}/${pkgname}${_pkgver}-libre.tar.gz")
mkmd5sums=('62b490407489521db863b523a7f86375'
'e6d9f0c204c2abe6a57dc5e1637d5140')
md5sums=('bbe4b7f4d48b2f939b5e43fde0ac7762')
mksource() {
- cd "${srcdir}/${_pkgname}${_pkgver}"
+ cd "${srcdir}/${pkgname}${_pkgver}"
# from http://bzr.trisquel.info/package-helpers/trunk/annotate/head%3A/helpers/natty/DATA/unzip/match.patch
patch -Np0 -i ${srcdir}/match.patch
}
build() {
- cd "${srcdir}/${_pkgname}${_pkgver}"
+ cd "${srcdir}/${pkgname}${_pkgver}"
# DEFINES, make, and install args from Debian
DEFINES='-DACORN_FTYPE_NFS -DWILD_STOP_AT_DIR -DLARGE_FILE_SUPPORT \
@@ -45,7 +44,7 @@ build() {
}
package(){
- cd "${srcdir}/${_pkgname}${_pkgver}"
+ cd "${srcdir}/${pkgname}${_pkgver}"
make -f unix/Makefile prefix="${pkgdir}"/usr install
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
diff --git a/libre/unzip-libre/match.patch b/libre/unzip/match.patch
index 6ba65fee0..6ba65fee0 100644
--- a/libre/unzip-libre/match.patch
+++ b/libre/unzip/match.patch