updated on Tue Jan 24 16:10:37 UTC 2012
[aur-mirror.git] / e3 / PKGBUILD
blob4454a52a0e7dbd5090f4176d65ebaf92a5eab407
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Roberto Alsina <ralsina@kde.org>
3 pkgname=e3
4 pkgver=2.8
5 pkgrel=1
6 pkgdesc="A full-screen text editor written in assembly"
7 arch=('x86_64' 'i686')
8 url="http://sites.google.com/site/e3editor/"
9 license=('GPL2')
10 makedepends=('nasm')
11 source=("http://sites.google.com/site/e3editor/Home/$pkgname-$pkgver.tgz")
12 md5sums=('0120bb073133ad26a054b35f88333183')
13 options=(!strip)
14   
15 build() {
16   cd "$srcdir/$pkgname-$pkgver"
17   
18   msg2 "Configuring..."
19   # Fix the symbolic links in /usr/bin
20   sed -i 's:$(BINDIR)/e3 :e3 :' Makefile
21   make clean
23   msg2 "Compiling..."
24   make EXMODE=_
27 package() {
28   cd "$srcdir/$pkgname-$pkgver"
30   make PREFIX="$pkgdir/usr" MANDIR="$pkgdir/usr/share/man/man1" install
31   install -Dm644 COPYING.GPL "$pkgdir/usr/share/licenses/$pkgname/COPYING"
34 # vim:set ts=2 sw=2 et: