You are not logged in.

#1 2015-04-21 07:34:11

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 483
Website

Can't update my package. make: *** No rule to make target 'install'.

https://aur.archlinux.org/packages/ttf-president-gas/
https://aur.archlinux.org/packages/ttf-dodger/
https://aur.archlinux.org/packages/ttf-seansotherhand/

ERROR-->  make: *** No rule to make target 'install'.  Stop.

The new rule that requires 'package()' has caused some of my packages to no longer install and I can't seem to wrap my head around exactly how I'm supposed to edit my packages to fix this flaw. I was starting with my simplest packages, the fonts I added to AUR. Could someone help me better understand this new requirement so I can update my packages? Thanks in advance!

Last edited by CPUnltd (2015-04-21 07:37:48)


Help grow the dev population... have your tech trained and certified!

Offline

#2 2015-04-21 08:28:05

pb
Member
From: Krakow, PL
Registered: 2014-12-26
Posts: 336
Website

Re: Can't update my package. make: *** No rule to make target 'install'.

Something like this:

pkgname=ttf-president-gas
pkgver=1.0
pkgrel=1
depends=('fontconfig' 'xorg-font-utils')
pkgdesc="custom fonts"
arch=('any')
source=(pkgname=ttf-president-gas
pkgver=1.0
pkgrel=1
depends=('fontconfig' 'xorg-font-utils')
pkgdesc="custom fonts"
arch=('any')
source=(http://www.1001freefonts.com/d/2517/president_gas.zip)
license=('freeware')
install=$pkgname.install
url="http://www.dafont.com/president-gas.font"
md5sums=('33d0aaba33da45f83ae227fda1d7281c')

package() {
        mkdir -p $pkgdir/usr/share/fonts/TTF
        install -Dm 0644 $srcdir/*.ttf $pkgdir/usr/share/fonts/TTF/
}

?

Offline

#3 2015-04-23 04:35:42

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: Can't update my package. make: *** No rule to make target 'install'.

CPUnltd wrote:

ERROR-->  make: *** No rule to make target 'install'.  Stop.

I wonder how you even got this error message. Your PKGBUILDs don't even have a 'make' call. This is strange. Anyway, try pb's suggestion. Simply renaming 'build' to 'package' will probably work anyway. If not, post here again.

Offline

Board footer

Powered by FluxBB