summaryrefslogtreecommitdiff
path: root/extra/xmahjongg/PKGBUILD
blob: 63e383811ebaaeec12a5112b763beafff147a0d1 (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
# $Id: PKGBUILD 123155 2011-05-09 00:53:15Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=xmahjongg
pkgver=3.7
pkgrel=4.1
pkgdesc="Mahjongg game for X-Window"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lcdf.org/xmahjongg/"
license=('GPL')
depends=('gcc-libs' 'libx11')
source=(http://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
md5sums=('9db5bf1b329b410220b7976cd9b3d374')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}