entr: fix homepage and distfiles

This commit is contained in:
Michal Vasilek 2022-08-23 23:34:20 +02:00
parent 1113b6eaad
commit 62125dba91

View File

@ -1,20 +1,20 @@
# Template file for 'entr'
pkgname=entr
version=5.1
revision=1
revision=2
build_style=gnu-makefile
short_desc="Utility for running arbitrary commands when files change"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="ISC"
homepage="http://entrproject.org"
homepage="https://eradman.com/entrproject/"
changelog="https://raw.githubusercontent.com/eradman/entr/master/NEWS"
distfiles="$homepage/code/$pkgname-$version.tar.gz"
distfiles="https://eradman.com/entrproject/code/entr-${version}.tar.gz"
checksum=0f87f577bce87641c525addb9bcc60bbaa579fe981dab759043e3ce1556dbb92
post_extract() {
case "$XBPS_TARGET_MACHINE" in
*-musl) # No need for _LINUX_PORT compat.h and strlcpy.c
sed -i $wrksrc/Makefile.linux -e "s;-D_LINUX_PORT;;"
vsed -i $wrksrc/Makefile.linux -e "s;-D_LINUX_PORT;;"
esac
}