blob: 9216ceab2114e67c297881f4e02ade087cb38f81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Maintainer: Trizen <echo dHJpemVuQHByb3Rvbm1haWwuY29tCg== | base64 -d>
_pkgname=perl-scripts
pkgname=zip2tar-git
pkgver=23.09.r114.ge687d10
pkgrel=1
pkgdesc="Command-line tool to convert ZIP files to TAR (with optional compression)"
arch=('any')
url="https://github.com/trizen/${_pkgname}"
license=('GPL3')
makedepends=('git')
provides=()
conflicts=()
depends=('perl>=5.36.0' 'perl-archive-zip')
optdepends=('perl-io-compress-lzma: support for XZ compression')
source=("git+https://github.com/trizen/${_pkgname}.git")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$_pkgname"
install -D -m 755 "Converters/zip2tar.pl" "$pkgdir/usr/bin/zip2tar.pl"
}
|