Package Details: systemd-zram 1.0-1

Git Clone URL: https://aur.archlinux.org/systemd-zram.git (read-only, click to copy)
Package Base: systemd-zram
Description: Systemd zRAM loader.
Upstream URL: https://github.com/mdomlop/systemd-zram
Licenses: GPL3
Submitter: mdomlop
Maintainer: mdomlop
Last Packager: mdomlop
Votes: 1
Popularity: 0.082647
First Submitted: 2019-03-11 09:25
Last Updated: 2019-03-11 18:17

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

mdomlop commented on 2019-03-11 20:08

Now it makes more sense. Thanks again.

metak commented on 2019-03-11 20:03

It's not about if that file is in the same directory as PKGBUILD it's when you have set SRCDEST to store downloaded tarballs.

https://wiki.archlinux.org/index.php/Makepkg#Package_output

https://wiki.archlinux.org/index.php/PKGBUILD#source (warning in red)

mdomlop commented on 2019-03-11 18:23

OK. It is done. I had not thought about the possibility that it could happen that in the directory where the PKGBUILD is located there could be another file with the name 1.0.tar.gz. As this is such a generic name, it is something that, in effect, could happen. Although I also think it is a rare case.

I will do the same with my other PKGBUILDs. Thank you!

metak commented on 2019-03-11 13:07

The previous md5sum 0f990f3ebedea6aeb5415107646b5623 was correct. I was reffering to the source line. As you have it currently set up it will save the file as 1.0.tar.gz and if there's already a file with that name in local source dir the checksum will fail. That's why you should change the source line to rename the downloaded file properly.

-source=("https://github.com/mdomlop/$pkgname/archive/$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mdomlop/$pkgname/archive/$pkgver.tar.gz")

mdomlop commented on 2019-03-11 12:58

metak, please, try again.

mdomlop commented on 2019-03-11 12:56

Already fixed!

metak commented on 2019-03-11 12:51

Please change the source line to source=("$pkgname-$pkgver.tar.gz::url...") so it wouldn't fail on md5sum when there's already a file with 1.0.tar.gz.