summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 71cc59c5be5ac9d3357ca53f1df6da36fd7d7405 (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
32
33
34
35
36
37
38
# Maintainer: Vignesh TS < vikits at gmail dot com>
# Contributor: schuay <jakob.gruber@gmail.com>
# Contributor: Dany Martineau <dany.luc.martineau gmail com>

pkgname=chroma
pkgver=1.20
pkgrel=1
pkgdesc="Abstract puzzle game."
arch=('i686' 'x86_64')
url="http://www.level7.org.uk/chroma/"
license=('GPL')
depends=('sdl_image' 'ncurses' 'freetype2')
makedepends=('make' 'gettext')
source=("http://www.level7.org.uk/${pkgname}/download/${pkgname}-${pkgver}.tar.bz2"
        "${pkgname}.desktop")

#prepare() {
#  cd ${srcdir}/${pkgname}-${pkgver}
#  sed -i 's/inline//g' sdlshadowdisplay.c
  # Thanks goes to Phobian for the sed line.
#}

build() {
    cd ${srcdir}/${pkgname}-${pkgver}

    ./configure --prefix=/usr
    make
}
package() {
    cd ${srcdir}/${pkgname}-${pkgver}

    make DESTDIR=${pkgdir} install
    install -Dm644 ../${pkgname}.desktop \
        ${pkgdir}/usr/share/applications/${pkgname}.desktop
}

md5sums=('d0f1e770e49ae10070a78e50cec8a723'
         '90932d9a42f1545c3ba59ae38afb7732')