diff options
Diffstat (limited to 'mlocate')
-rw-r--r-- | mlocate/Pkgfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mlocate/Pkgfile b/mlocate/Pkgfile index 3484031..8b3cc35 100644 --- a/mlocate/Pkgfile +++ b/mlocate/Pkgfile @@ -7,11 +7,13 @@ depends=() name=mlocate version=0.23.1 release=1 -source=(https://fedorahosted.org/releases/m/l/mlocate/mlocate-0.23.1.tar.xz mlocate updatedb.conf) +source=(https://fedorahosted.org/releases/m/l/$name/$name-$version.tar.xz mlocate updatedb.conf) build () { cd $name-$version; ./configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ --prefix=$prefix \ --mandir=$mandir \ --sysconfdir=$sysconfdir \ |