blob: 93d4ad8ec28ad4c9bf6a069f108c45a8f5b51f83 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $Id: PKGBUILD 17713 2010-05-24 20:46:58Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=xpacman2
pkgver=1.002
_xpkgver=1_002
pkgrel=3
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-$_xpkgver.tar.gz \
build-fix.patch)
md5sums=('afcbc268d1eff6ea3a834c7a5f715f77' '4faf33134a2a74f284059a2971833fa1')
noextract=()
build() {
cd $srcdir/pacman-$_xpkgver
patch -Np1 <../build-fix.patch
./configure --prefix=/usr
make || return 1
make DESTDIR=$pkgdir install || return 1
(cd $pkgdir/usr/bin/ && mv pacman xpacman2)
}
|