Unfortunately, there are two "enigma" named unix apps. If I want to change the name of my package, that is enigma aka free-oxyd to free-oxyd, makepkg complains it can't find the sources. This is no surprise, as the sources name is enigma-0.81...
When I made my package, and install MY enigma, pacman tells me, enigma was outdated, and installs enigma-1.xx - the other package named enigma.
I have no idea how to solve this.
Frumpus ♥ addict
Don't say that the source is $pkgname-$pkgver.tar.gz then. Say it's enigma-$pkgver.tar.gz. Those variables are there for you to use, not the other way around
Same thing with the cd line in your build() function. You'll have to change it to cd $startdir/src/enigma-$pkgver or whatever.
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal