summaryrefslogtreecommitdiff
path: root/community/xpacman2/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
committerroot <root@rshg054.dnsready.net>2012-03-15 00:01:19 +0000
commit14635ca5380a480450a66c3fcc29992d29a2bd8e (patch)
treea2f8e712c9e15b829397666c06d1cdd1a877d8a6 /community/xpacman2/PKGBUILD
parent01a0c4bc740842efa3bf1a7e1d6c8be5656e4e2a (diff)
Thu Mar 15 00:01:19 UTC 2012
Diffstat (limited to 'community/xpacman2/PKGBUILD')
-rw-r--r--community/xpacman2/PKGBUILD20
1 files changed, 8 insertions, 12 deletions
diff --git a/community/xpacman2/PKGBUILD b/community/xpacman2/PKGBUILD
index 93d4ad8ec..15ab053ba 100644
--- a/community/xpacman2/PKGBUILD
+++ b/community/xpacman2/PKGBUILD
@@ -1,29 +1,25 @@
-# $Id: PKGBUILD 17713 2010-05-24 20:46:58Z spupykin $
+# $Id: PKGBUILD 67641 2012-03-13 15:00:04Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=xpacman2
pkgver=1.002
-_xpkgver=1_002
-pkgrel=3
+pkgrel=4
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 \
+source=(ftp://ftp.nvg.unit.no/pub/pacman/pacman-${pkgver/./_}.tar.gz
build-fix.patch)
-md5sums=('afcbc268d1eff6ea3a834c7a5f715f77' '4faf33134a2a74f284059a2971833fa1')
-noextract=()
+md5sums=('afcbc268d1eff6ea3a834c7a5f715f77'
+ '4faf33134a2a74f284059a2971833fa1')
build() {
- cd $srcdir/pacman-$_xpkgver
-
+ cd $srcdir/pacman-${pkgver/./_}
patch -Np1 <../build-fix.patch
-
./configure --prefix=/usr
- make || return 1
- make DESTDIR=$pkgdir install || return 1
-
+ make
+ make DESTDIR=$pkgdir install
(cd $pkgdir/usr/bin/ && mv pacman xpacman2)
}