pacman
pacman copied to clipboard
PKGBUILD out of date
Your PKGBUILD is outdated because the source cannot be found. To update it, convert it into a Git repository. Simply update your PKGBUILD.
# Maintainer: schuay <[email protected]>
# Contrib: Felipe Facundes
pkgname=pacman_sdl-git
pkgver=r38.cbe4e85
pkgdesc="Pacman clone using SDL. Guide Pacman through a maze and collect pac-dots while avoiding ghosts."
pkgrel=1
arch=('i686' 'x86_64')
url="http://github.com/schuay/pacman/"
license=('GPL')
source=("git+http://github.com/schuay/pacman.git")
md5sums=('SKIP')
depends=('sdl_ttf' 'sdl_gfx' 'sdl_mixer' 'sdl_image')
makedepends=('git' 'boost')
pkgver() {
cd "${srcdir}/pacman/src" || true
echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
build() {
cd "${srcdir}/pacman/src" || true
autoconf
./configure
make
}
package() {
cd "${srcdir}/pacman/src" || true
make DESTDIR="${pkgdir}" install
}