summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Kugland2021-01-20 04:30:09 -0300
committerAndré Kugland2021-01-20 04:30:09 -0300
commit98c9c135128fe31c71c708bb1169aaddc5f79426 (patch)
treebc5cb7d506b874f2015c1987b53b121d74d960ca
parenta35d25b6910fabbb818418fffc826f0a2b5942e8 (diff)
downloadaur-98c9c135128fe31c71c708bb1169aaddc5f79426.tar.gz
2.0.0-2
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD8
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 929a3c50b65..098989c6b65 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = rename.pl
pkgdesc = Rename files using perl expressions
pkgver = 2.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/kugland/rename.pl
arch = any
license = mit
@@ -9,8 +9,8 @@ pkgbase = rename.pl
depends = perl>=5.3.0
depends = perl-try-tiny
optdepends = perl-text-unidecode: unidecode support
- source = https://github.com/kugland/rename.pl/archive/v2.0.0.tar.gz
- sha256sums = 29d0da12b1715bf52c499fa8e042ad789c6c0640c5d1767e9b57828c42217aa3
+ source = https://github.com/kugland/rename.pl/archive/2.0.0.tar.gz
+ sha256sums = 230b357e2012f29eb444181b0d9ca2a7cf01c0ba9779b68079b92824fd761780
pkgname = rename.pl
diff --git a/PKGBUILD b/PKGBUILD
index b4ae5facaf5..db0eed20d6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,19 +2,19 @@
pkgname=rename.pl
pkgver=2.0.0
-pkgrel=1
+pkgrel=2
pkgdesc='Rename files using perl expressions'
arch=('any')
url='https://github.com/kugland/rename.pl'
license=('mit')
depends=('gcc-libs' 'perl>=5.3.0' 'perl-try-tiny')
optdepends=('perl-text-unidecode: unidecode support')
-source=("https://github.com/kugland/rename.pl/archive/v$pkgver.tar.gz")
-sha256sums=('29d0da12b1715bf52c499fa8e042ad789c6c0640c5d1767e9b57828c42217aa3')
+source=("https://github.com/kugland/rename.pl/archive/$pkgver.tar.gz")
+sha256sums=('230b357e2012f29eb444181b0d9ca2a7cf01c0ba9779b68079b92824fd761780')
package() {
DIR="rename.pl-$pkgver"
- tar -xzf "v$pkgver.tar.gz"
+ tar -xzf "$pkgver.tar.gz"
gzip -9 ${DIR}/rename.pl.1
install -Dm755 ${DIR}/rename.pl ${pkgdir}/usr/bin/rename.pl
install -Dm644 ${DIR}/rename.pl.1.gz ${pkgdir}/usr/share/man/man1/rename.pl.1.gz