summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a5fa002501469bc91c61e464313525e2861d8ffd (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
#Maintainer: Erus <erus.iluvatar@gmail.com>
pkgname=pacman4console
pkgver=1.3
pkgrel=1
pkgdesc="A 9 level ncurses pacman game with editor, patched not to disturb our package manager and to have nice ghosts"
arch=('i686' 'x86_64')
url="http://sites.google.com/site/doctormike/pacman.html"
license=('GPL')
depends=('ncurses')
makedepends=()
source=("http://ftp.debian.org/debian/pool/main/p/pacman4console/${pkgname}_${pkgver}.orig.tar.gz" 'pacman4console.patch' 'pacman4console.6' 'pacman4consoleedit.1')
md5sums=('015ca457e3d3a4ceb62673edd6fb3e78'
         'f01c6424a9339bef3046627e2af78654'
         'b913fb9959f2988a41457c270eb0d3b3'
         'fc43203fcbc5b27872131ac6dfe85ddc')

build() {
  cd pacman-$pkgver/
  patch -i ../$pkgname.patch
  make
}

package() {
  cd pacman-$pkgver/
  make DESTDIR=$pkgdir install || return 1
  install -D -m644 COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE
  install -D -m644 ../pacman4console.6 $pkgdir/usr/share/man/man6/pacman4console.6
  install -D -m644 ../pacman4consoleedit.1 $pkgdir/usr/share/man/man1/pacman4consoleedit.1
}