summaryrefslogtreecommitdiff
path: root/pcr/pacman4console/PKGBUILD
blob: 86d6ba1254580b5be133562e36a3f380bb4b7d0b (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
30
31
# Maintainer (aur): Erus <erus.iluvatar@gmail.com>
# Maintainer: David P. <megver83@parabola.nu>

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=('armv7h' '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')
sha512sums=('dd62396819936150bb997e6374e065241f6daa3ddb0edf2cbae91fbab88d55ebdecbe0d1d62c1355c7c59f9b4e43e79ba17fd5c2fa92d4953fca49b55f1312ff'
            '8ac5650b429e5e8e7585f17000670d235bbb75b9baffba5c9450dce022db76644344fdfa73e28202c6dbc1858e60502b3d04098cbd7f5dfb731d76b0e1f7cd6e'
            'f2f4d3201eddb601dc40837da6fd9ecbba8d59f9d447bc51a5cf38a5bea3d28b436e1bbedf0200db35b832016d5d4b3cdc43fcb25e3446d104b3aab5b5ec9394'
            'f8f68a741faa5e802c103eabd6344c9906816110d31155a482058d298a5d859aedb2b87f403796cdbee7604321a8cf2566326f15901db0d6df47b88af8be7185')

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

package() {
  cd pacman-$pkgver/
  make DESTDIR=$pkgdir install
  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
}