summaryrefslogtreecommitdiff
path: root/community/e3/PKGBUILD
blob: ee69bbc945060eb9539d660ff3d086876e0f779a (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
# $Id: PKGBUILD 95666 2013-08-15 11:52:34Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Roberto Alsina <ralsina@kde.org>

pkgname=e3
pkgver=2.8
pkgrel=4
pkgdesc='Tiny editor without dependencies, written in assembly'
arch=('x86_64' 'i686')
url='http://sites.google.com/site/e3editor/'
license=('GPL2')
makedepends=('nasm')
options=('!strip')
source=("http://sites.google.com/site/e3editor/Home/$pkgname-$pkgver.tgz")
sha256sums=('035737d0cc82b287386fdff8682b2c23ef620d7ef97dff7a1b1fe1777e4c4fb7')
  
build() {
  cd "$srcdir/$pkgname-$pkgver"
  
  sed -i 's:$(BINDIR)/e3 :e3 :' Makefile
  make clean
  if [ "$CARCH" = "i686" ]; then
    make EXMODE=_ 32
  else
    make EXMODE=_ 64
  fi
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man/man1" install
}

# vim:set ts=2 sw=2 et: