diff options
author | Hezekiah Michael | 2022-04-15 19:29:00 -0400 |
---|---|---|
committer | Hezekiah Michael | 2022-04-15 19:29:00 -0400 |
commit | b531a6bc78e32f38ed8842fc29d99512cff5ba71 (patch) | |
tree | 660c9fc5e39fadbbe06fe2fbf319a687a596d00e | |
parent | d07f45c19464effe8cf309e5266effb4dd9827c2 (diff) | |
download | aur-b531a6bc78e32f38ed8842fc29d99512cff5ba71.tar.gz |
Fix incorrect checksum and versioning functiom
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 5 insertions, 4 deletions
@@ -13,6 +13,6 @@ pkgbase = m4b-tool-bin optdepends = ffmpeg-libfdk_aac: to use fdkaac in conversions options = !strip source = m4b-tool.tar.gz::https://github.com/sandreas/m4b-tool/files/6598116/m4b-tool.tar.gz - sha256sums = 0ec79733770379dbd11ea9d76fd03d62d8aacca8e66730779f7caaa92f577ba7 + sha256sums = ae3b350ddc4b3037205a8594cd9255c406130fe264cf965f40357927acbc9925 pkgname = m4b-tool-bin @@ -2,7 +2,7 @@ pkgdesc='A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b' pkgname=('m4b-tool-bin') -pkgver=0.4.2~20210603 +pkgver=0.4.2~20210604 pkgrel=1 arch=('x86_64') license=('MIT') @@ -20,7 +20,8 @@ source=("m4b-tool.tar.gz::https://github.com/sandreas/m4b-tool/files/6598116/m4b pkgver() { - _dat=`stat --format=%y ../m4b-tool.tar.gz | awk -F ' |\-' '{ print $1$2$3 }'` + cd ${srcdir} + _dat=`stat --format=%y m4b-tool.phar | awk -F ' |\-' '{ print $1$2$3 }'` printf "0.4.2~$_dat" } @@ -29,4 +30,4 @@ package() { install -Dm 755 m4b-tool.phar "${pkgdir}/usr/local/bin/m4b-tool" } -sha256sums=('0ec79733770379dbd11ea9d76fd03d62d8aacca8e66730779f7caaa92f577ba7') +sha256sums=('ae3b350ddc4b3037205a8594cd9255c406130fe264cf965f40357927acbc9925') |