mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
29 lines
729 B
Bash
29 lines
729 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
pkgname=xpacman2
|
|
pkgver=1.002
|
|
_pkgver=1_002
|
|
pkgrel=2.1
|
|
pkgdesc="another X pacman game"
|
|
arch=('i686' 'x86_64')
|
|
url="ftp://ftp.nvg.unit.no/pub/pacman/"
|
|
license=('GPL')
|
|
depends=(libx11 ncurses gcc-libs)
|
|
makedepends=()
|
|
source=(ftp://ftp.nvg.unit.no/pub/pacman/pacman-$_pkgver.tar.gz \
|
|
build-fix.patch)
|
|
md5sums=('afcbc268d1eff6ea3a834c7a5f715f77' '4faf33134a2a74f284059a2971833fa1')
|
|
noextract=()
|
|
|
|
build() {
|
|
cd $startdir/src/pacman-$_pkgver
|
|
|
|
patch -Np1 <../build-fix.patch
|
|
|
|
./configure --prefix=/usr
|
|
make || return 1
|
|
make DESTDIR=$startdir/pkg install || return 1
|
|
|
|
(cd $startdir/pkg/usr/bin/ && mv pacman xpacman2)
|
|
}
|