updated on Thu Jan 12 04:00:44 UTC 2012
[aur-mirror.git] / jasspa-me / PKGBUILD
blob206b50510beedb24c740c71103e3f295d5c17195
1 pkgname=jasspa-me
2 pkgver=20060909_2
3 pkgrel=1
4 pkgdesc="Jasspa.org microemacs editor"
5 arch=('i686' 'x86_64')
6 url="http://www.jasspa.com"
7 license=('GPL')
8 groups=
9 provides=
10 depends=('ncurses')
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=()
16 source=("http://www.jasspa.com/release_${pkgver%_*}/jasspa-mesrc-${pkgver//_/-}.tar.gz"
17         "http://www.jasspa.com/release_${pkgver%_*}/jasspa-metree-${pkgver//_/-}.tar.gz")
19 md5sums=('6606ec40da39352e5cbb644090a13820'
20          '133e404a15a072ddb5053d1052069513')
22 build() {
23         cd ${startdir}/src/me060909/src
24         sed -i.bak -e '74d' -e'69,72d' linux26.gmk #Make sure we use ncurses
25         make -f linux26.gmk || return 1
26         mkdir -p ${startdir}/pkg/usr/bin
27         make -f linux26.gmk INSTDIR=${startdir}/pkg/usr/bin install || return 1
28         cp linux26.gmk.bak linux26.gmk
29         cd ${startdir}/src
30         # Install supporting files
31         install -d -o root -g root -m 0755 ${startdir}/pkg/usr/share/jasspa/{company,contrib,macros,spelling} ${startdir}/pkg/usr/share/pixmaps
32         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/pixmaps jasspa/pixmaps/*
33         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/company jasspa/company/*
34         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/contrib jasspa/contrib/*
35         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/macros jasspa/macros/*
36         install -o root -g root -m 0644 -t ${startdir}/pkg/usr/share/jasspa/spelling jasspa/spelling/*